home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Libraries / VideoToolbox 94.11.17 / Utilities / CalibrateLuminance / CalibrateLuminance noFPU / CalibrateLuminance noFPU.rsrc / DATA_0 next >
Unknown  |  1994-11-17  |  15.3 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default
100% TrID Adobe PhotoShop Brush default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 22 00 04 00 00 63 6f | 6c 6f 72 00 00 00 67 72 |."....co|lor...gr|
|00000010| 61 79 00 00 53 6f 72 72 | 79 2c 20 49 20 6e 65 65 |ay..Sorr|y, I nee|
|00000020| 64 20 61 74 20 6c 65 61 | 73 74 20 53 79 73 74 65 |d at lea|st Syste|
|00000030| 6d 20 36 2e 30 35 2e 0a | 00 00 43 61 6c 69 62 72 |m 6.05..|..Calibr|
|00000040| 61 74 65 4c 75 6d 69 6e | 61 6e 63 65 2e 63 00 00 |ateLumin|ance.c..|
|00000050| 53 74 61 63 6b 53 70 61 | 63 65 28 29 3e 34 30 30 |StackSpa|ce()>400|
|00000060| 30 00 2e 46 6f 72 65 52 | 75 6e 6e 65 72 00 12 43 |0..ForeR|unner..C|
|00000070| 61 6c 69 62 72 61 74 65 | 4c 75 6d 69 6e 61 6e 63 |alibrate|Luminanc|
|00000080| 65 00 0a 00 0a 00 4e 6f | 76 20 31 37 20 31 39 39 |e.....No|v 17 199|
|00000090| 34 00 57 65 6c 63 6f 6d | 65 20 74 6f 20 43 61 6c |4.Welcom|e to Cal|
|000000a0| 69 62 72 61 74 65 4c 75 | 6d 69 6e 61 6e 63 65 20 |ibrateLu|minance |
|000000b0| 76 65 72 73 69 6f 6e 20 | 25 73 2e 0a 0a 54 68 69 |version |%s...Thi|
|000000c0| 73 20 70 72 6f 67 72 61 | 6d 20 68 65 6c 70 73 20 |s progra|m helps |
|000000d0| 79 6f 75 20 74 6f 20 63 | 61 6c 69 62 72 61 74 65 |you to c|alibrate|
|000000e0| 20 79 6f 75 72 20 49 53 | 52 20 56 69 64 65 6f 20 | your IS|R Video |
|000000f0| 41 74 74 65 6e 75 61 74 | 6f 72 2c 20 61 73 20 77 |Attenuat|or, as w|
|00000100| 65 6c 6c 20 61 73 20 79 | 6f 75 72 20 76 69 64 65 |ell as y|our vide|
|00000110| 6f 20 63 61 72 64 0a 61 | 6e 64 20 6d 6f 6e 69 74 |o card.a|nd monit|
|00000120| 6f 72 2e 20 27 45 6e 74 | 65 72 27 20 69 6e 64 69 |or. 'Ent|er' indi|
|00000130| 63 61 74 65 73 20 74 68 | 61 74 20 79 6f 75 20 73 |cates th|at you s|
|00000140| 68 6f 75 6c 64 20 74 79 | 70 65 20 69 6e 20 61 20 |hould ty|pe in a |
|00000150| 6e 75 6d 62 65 72 20 6f | 72 20 6c 65 74 74 65 72 |number o|r letter|
|00000160| 20 66 6f 6c 6c 6f 77 65 | 64 20 62 79 20 27 52 45 | followe|d by 'RE|
|00000170| 54 55 52 4e 27 2e 0a 4d | 6f 73 74 20 71 75 65 73 |TURN'..M|ost ques|
|00000180| 74 69 6f 6e 73 20 70 72 | 6f 76 69 64 65 20 61 20 |tions pr|ovide a |
|00000190| 64 65 66 61 75 6c 74 20 | 61 6e 73 77 65 72 20 28 |default |answer (|
|000001a0| 69 6e 20 70 61 72 65 6e | 74 68 65 73 65 73 29 2e |in paren|theses).|
|000001b0| 0a 4a 75 73 74 20 68 69 | 74 20 27 52 45 54 55 52 |.Just hi|t 'RETUR|
|000001c0| 4e 27 20 69 66 20 79 6f | 75 20 77 61 6e 74 20 74 |N' if yo|u want t|
|000001d0| 68 65 20 64 65 66 61 75 | 6c 74 2e 20 28 4f 72 20 |he defau|lt. (Or |
|000001e0| 68 69 74 20 43 6f 6d 6d | 61 6e 64 2d 2e 20 74 6f |hit Comm|and-. to|
|000001f0| 20 71 75 69 74 2e 29 0a | 57 68 65 72 65 20 61 70 | quit.).|Where ap|
|00000200| 70 72 6f 70 72 69 61 74 | 65 2c 20 74 68 65 20 64 |propriat|e, the d|
|00000210| 65 66 61 75 6c 74 20 69 | 73 20 74 61 6b 65 6e 20 |efault i|s taken |
|00000220| 66 72 6f 6d 20 6c 61 74 | 65 73 74 20 4c 75 6d 69 |from lat|est Lumi|
|00000230| 6e 61 6e 63 65 52 65 63 | 6f 72 64 2e 0a 00 57 68 |nanceRec|ord...Wh|
|00000240| 69 63 68 20 73 63 72 65 | 65 6e 20 64 6f 20 79 6f |ich scre|en do yo|
|00000250| 75 20 77 61 6e 74 20 74 | 6f 20 63 61 6c 69 62 72 |u want t|o calibr|
|00000260| 61 74 65 3f 00 00 4c 75 | 6d 69 6e 61 6e 63 65 52 |ate?..Lu|minanceR|
|00000270| 65 63 6f 72 64 25 64 2e | 68 00 53 75 63 63 65 73 |ecord%d.|h.Succes|
|00000280| 73 66 75 6c 6c 79 20 72 | 65 61 64 20 6f 6c 64 20 |sfully r|ead old |
|00000290| d2 25 73 d3 20 74 6f 20 | 73 65 74 20 64 65 66 61 |.%s. to |set defa|
|000002a0| 75 6c 74 20 76 61 6c 75 | 65 73 2e 0a 00 00 43 6f |ult valu|es....Co|
|000002b0| 75 6c 64 6e 27 74 20 66 | 69 6e 64 20 61 6e 20 6f |uldn't f|ind an o|
|000002c0| 6c 64 20 63 6f 70 79 20 | 6f 66 20 d2 25 73 d3 3b |ld copy |of .%s.;|
|000002d0| 20 63 72 65 61 74 69 6e | 67 20 6e 65 77 20 6f 6e | creatin|g new on|
|000002e0| 65 20 66 72 6f 6d 20 73 | 63 72 61 74 63 68 2e 0a |e from s|cratch..|
|000002f0| 00 00 63 64 2f 6d 5e 32 | 00 00 54 65 73 74 20 73 |..cd/m^2|..Test s|
|00000300| 63 72 65 65 6e 20 69 73 | 20 73 65 74 20 74 6f 20 |creen is| set to |
|00000310| 25 64 20 63 6f 6c 6f 72 | 73 20 61 6e 64 20 25 73 |%d color|s and %s|
|00000320| 20 6d 6f 64 65 2e 0a 00 | 0a 07 53 6f 72 72 79 2e | mode...|..Sorry.|
|00000330| 20 54 68 69 73 20 70 72 | 6f 67 72 61 6d 20 63 61 | This pr|ogram ca|
|00000340| 6e 6e 6f 74 20 63 61 6c | 69 62 72 61 74 65 20 61 |nnot cal|ibrate a|
|00000350| 20 64 69 73 70 6c 61 79 | 77 69 74 68 20 6c 65 73 | display|with les|
|00000360| 73 20 74 68 61 6e 20 34 | 20 63 6f 6c 6f 72 73 2f |s than 4| colors/|
|00000370| 67 72 61 79 73 2e 00 00 | 43 68 61 6e 67 69 6e 67 |grays...|Changing|
|00000380| 20 73 63 72 65 65 6e 20 | 64 65 70 74 68 20 74 6f | screen |depth to|
|00000390| 20 25 64 2d 62 69 74 20 | 70 69 78 65 6c 73 0a 00 | %d-bit |pixels..|
|000003a0| 53 6f 72 72 79 2c 20 74 | 68 65 20 48 61 73 44 65 |Sorry, t|he HasDe|
|000003b0| 70 74 68 20 72 6f 75 74 | 69 6e 65 20 64 6f 65 73 |pth rout|ine does|
|000003c0| 6e 27 74 20 77 6f 72 6b | 20 70 72 6f 70 65 72 6c |n't work| properl|
|000003d0| 79 2e 20 55 73 65 20 74 | 68 65 20 4d 6f 6e 69 74 |y. Use t|he Monit|
|000003e0| 6f 72 73 20 43 6f 6e 74 | 72 6f 6c 20 50 61 6e 65 |ors Cont|rol Pane|
|000003f0| 6c 20 74 6f 20 73 65 74 | 20 74 68 65 20 63 6f 6c |l to set| the col|
|00000400| 6f 72 73 2f 67 72 61 79 | 73 20 61 6e 64 20 74 68 |ors/gray|s and th|
|00000410| 65 6e 20 72 75 6e 20 43 | 61 6c 69 62 72 61 74 65 |en run C|alibrate|
|00000420| 4c 75 6d 69 6e 61 6e 63 | 65 20 61 67 61 69 6e 2e |Luminanc|e again.|
|00000430| 0a 00 57 6f 75 6c 64 20 | 79 6f 75 20 70 72 65 66 |..Would |you pref|
|00000440| 65 72 20 63 6f 6c 6f 72 | 20 6d 6f 64 65 3f 00 00 |er color| mode?..|
|00000450| 0a 00 53 6f 72 72 79 2c | 20 74 68 65 72 65 20 69 |..Sorry,| there i|
|00000460| 73 20 6e 6f 20 63 6f 6c | 6f 72 20 6d 6f 64 65 2e |s no col|or mode.|
|00000470| 20 43 6f 6e 74 69 6e 75 | 69 6e 67 20 69 6e 20 67 | Continu|ing in g|
|00000480| 72 61 79 20 6d 6f 64 65 | 2e 0a 00 00 0a 54 68 65 |ray mode|.....The|
|00000490| 72 65 20 61 72 65 20 74 | 77 6f 20 6b 69 6e 64 73 |re are t|wo kinds|
|000004a0| 20 6f 66 20 6d 65 61 73 | 75 72 65 6d 65 6e 74 3a | of meas|urement:|
|000004b0| 0a 31 2e 20 43 6f 6d 70 | 75 6c 73 6f 72 79 20 63 |.1. Comp|ulsory c|
|000004c0| 61 6c 69 62 72 61 74 69 | 6f 6e 20 6f 66 20 74 68 |alibrati|on of th|
|000004d0| 65 20 28 6e 6f 6e 6c 69 | 6e 65 61 72 29 20 6d 6f |e (nonli|near) mo|
|000004e0| 6e 69 74 6f 72 27 73 20 | 67 61 6d 6d 61 20 66 75 |nitor's |gamma fu|
|000004f0| 6e 63 74 69 6f 6e 2e 0a | 54 68 69 73 20 77 69 6c |nction..|This wil|
|00000500| 6c 20 62 65 20 61 66 66 | 65 63 74 65 64 20 62 79 |l be aff|ected by|
|00000510| 20 79 6f 75 72 20 63 68 | 6f 69 63 65 20 6f 66 20 | your ch|oice of |
|00000520| 62 61 63 6b 67 72 6f 75 | 6e 64 20 6c 75 6d 69 6e |backgrou|nd lumin|
|00000530| 61 6e 63 65 2e 0a 32 2e | 20 4f 70 74 69 6f 6e 61 |ance..2.| Optiona|
|00000540| 6c 20 63 61 6c 69 62 72 | 61 74 69 6f 6e 20 6f 66 |l calibr|ation of|
|00000550| 20 74 68 65 20 28 6c 69 | 6e 65 61 72 29 20 49 53 | the (li|near) IS|
|00000560| 52 20 56 69 64 65 6f 20 | 41 74 74 65 6e 75 61 74 |R Video |Attenuat|
|00000570| 6f 72 20 33 20 63 68 61 | 6e 6e 65 6c 20 67 61 69 |or 3 cha|nnel gai|
|00000580| 6e 73 2e 0a 54 68 69 73 | 20 69 73 20 69 6e 64 65 |ns..This| is inde|
|00000590| 70 65 6e 64 65 6e 74 20 | 6f 66 20 74 68 65 20 62 |pendent |of the b|
|000005a0| 61 63 6b 67 72 6f 75 6e | 64 2e 20 49 74 20 74 61 |ackgroun|d. It ta|
|000005b0| 6b 65 73 20 61 62 6f 75 | 74 20 31 35 20 6d 69 6e |kes abou|t 15 min|
|000005c0| 75 74 65 73 2e 0a 0a 44 | 6f 20 79 6f 75 20 77 69 |utes...D|o you wi|
|000005d0| 73 68 20 74 6f 20 73 6b | 69 70 20 32 2e 2c 20 74 |sh to sk|ip 2., t|
|000005e0| 68 65 20 6f 70 74 69 6f | 6e 61 6c 20 74 68 72 65 |he optio|nal thre|
|000005f0| 65 2d 63 68 61 6e 6e 65 | 6c 20 63 61 6c 69 62 72 |e-channe|l calibr|
|00000600| 61 74 69 6f 6e 3f 00 00 | 0a 00 53 6b 69 70 70 69 |ation?..|..Skippi|
|00000610| 6e 67 20 33 20 63 68 61 | 6e 6e 65 6c 20 63 61 6c |ng 3 cha|nnel cal|
|00000620| 69 62 72 61 74 69 6f 6e | 2e 0a 00 00 33 20 63 68 |ibration|....3 ch|
|00000630| 61 6e 6e 65 6c 73 20 77 | 69 6c 6c 20 62 65 20 63 |annels w|ill be c|
|00000640| 61 6c 69 62 72 61 74 65 | 64 2e 0a 00 54 61 6b 69 |alibrate|d...Taki|
|00000650| 6e 67 20 70 68 6f 74 6f | 6d 65 74 65 72 20 72 65 |ng photo|meter re|
|00000660| 61 64 69 6e 67 73 20 61 | 75 74 6f 6d 61 74 69 63 |adings a|utomatic|
|00000670| 61 6c 6c 79 2e 0a 41 73 | 73 75 6d 69 6e 67 20 25 |ally..As|suming %|
|00000680| 2e 33 66 20 6d 69 6c 6c | 69 56 6f 6c 74 73 20 70 |.3f mill|iVolts p|
|00000690| 65 72 20 25 73 0a 00 00 | 50 6c 65 61 73 65 20 65 |er %s...|Please e|
|000006a0| 6e 74 65 72 20 74 68 65 | 20 70 68 6f 74 6f 6d 65 |nter the| photome|
|000006b0| 74 65 72 20 72 65 61 64 | 69 6e 67 73 2c 69 6e 20 |ter read|ings,in |
|000006c0| 25 73 2c 20 61 73 20 70 | 72 6f 6d 70 74 65 64 2e |%s, as p|rompted.|
|000006d0| 0a 00 0a 00 46 69 72 73 | 74 20 6c 65 74 27 73 20 |....Firs|t let's |
|000006e0| 63 68 65 63 6b 20 74 68 | 65 20 70 68 6f 74 6f 6d |check th|e photom|
|000006f0| 65 74 65 72 27 73 20 67 | 61 69 6e 20 73 65 74 74 |eter's g|ain sett|
|00000700| 69 6e 67 2e 0a 00 50 6f | 69 6e 74 20 74 68 65 20 |ing...Po|int the |
|00000710| 70 68 6f 74 6f 6d 65 74 | 65 72 20 61 74 20 74 68 |photomet|er at th|
|00000720| 65 20 73 63 72 65 65 6e | 20 61 6e 64 20 68 69 74 |e screen| and hit|
|00000730| 20 72 65 74 75 72 6e 3a | 00 00 0d 00 0d 57 68 69 | return:|.....Whi|
|00000740| 74 65 20 73 65 65 6d 73 | 20 74 6f 20 62 65 20 25 |te seems| to be %|
|00000750| 2e 31 66 20 25 73 20 62 | 72 69 67 68 74 65 72 20 |.1f %s b|righter |
|00000760| 74 68 61 6e 20 62 6c 61 | 63 6b 2e 0a 00 00 44 6f |than bla|ck....Do|
|00000770| 20 79 6f 75 20 77 61 6e | 74 20 74 6f 20 74 72 79 | you wan|t to try|
|00000780| 20 74 68 61 74 20 61 67 | 61 69 6e 3f 00 00 0a 00 | that ag|ain?....|
|00000790| 50 6c 65 61 73 65 20 6f | 63 63 6c 75 64 65 20 74 |Please o|cclude t|
|000007a0| 68 65 20 70 68 6f 74 6f | 6d 65 74 65 72 20 73 6f |he photo|meter so|
|000007b0| 20 74 68 61 74 20 49 20 | 63 61 6e 20 72 65 61 64 | that I |can read|
|000007c0| 20 74 68 65 20 64 61 72 | 6b 20 6c 65 76 65 6c 2e | the dar|k level.|
|000007d0| 0a 48 69 74 20 63 72 20 | 77 68 65 6e 20 72 65 61 |.Hit cr |when rea|
|000007e0| 64 79 3a 00 54 68 65 20 | 64 61 72 6b 20 6c 65 76 |dy:.The |dark lev|
|000007f0| 65 6c 20 6f 66 20 25 2e | 32 66 20 63 64 2f 6d 5e |el of %.|2f cd/m^|
|00000800| 32 20 77 69 6c 6c 20 62 | 65 20 73 75 62 74 72 61 |2 will b|e subtra|
|00000810| 63 74 65 64 20 66 72 6f | 6d 20 61 6c 6c 20 72 65 |cted fro|m all re|
|00000820| 61 64 69 6e 67 73 0a 00 | 45 6e 74 65 72 2c 20 69 |adings..|Enter, i|
|00000830| 6e 20 70 69 78 65 6c 73 | 2c 20 74 68 65 20 64 69 |n pixels|, the di|
|00000840| 61 6d 65 74 65 72 20 6f | 66 20 74 68 65 20 74 65 |ameter o|f the te|
|00000850| 73 74 20 70 61 74 63 68 | 20 28 25 64 29 3a 00 00 |st patch| (%d):..|
|00000860| 25 64 00 00 50 6c 65 61 | 73 65 20 72 65 6d 6f 76 |%d..Plea|se remov|
|00000870| 65 20 74 68 65 20 6f 63 | 63 6c 75 64 65 72 2e 20 |e the oc|cluder. |
|00000880| 0a 00 50 6c 61 63 65 20 | 79 6f 75 72 20 70 68 6f |..Place |your pho|
|00000890| 74 6f 6d 65 74 65 72 20 | 73 6f 20 61 73 20 74 6f |tometer |so as to|
|000008a0| 20 72 65 61 64 20 74 68 | 65 20 6c 75 6d 69 6e 61 | read th|e lumina|
|000008b0| 6e 63 65 20 6f 66 20 74 | 68 65 20 63 65 6e 74 65 |nce of t|he cente|
|000008c0| 72 20 6f 66 20 74 68 65 | 20 74 65 73 74 20 73 63 |r of the| test sc|
|000008d0| 72 65 65 6e 2e 0a 00 00 | 54 68 65 6e 20 65 6e 74 |reen....|Then ent|
|000008e0| 65 72 20 6e 75 6d 62 65 | 72 20 6f 66 20 74 69 6d |er numbe|r of tim|
|000008f0| 65 73 20 79 6f 75 20 77 | 69 73 68 20 74 6f 20 72 |es you w|ish to r|
|00000900| 65 70 65 61 74 20 74 68 | 65 20 77 68 6f 6c 65 20 |epeat th|e whole |
|00000910| 63 79 63 6c 65 20 6f 66 | 20 6d 65 61 73 75 72 65 |cycle of| measure|
|00000920| 6d 65 6e 74 2e 20 28 25 | 64 29 3a 00 25 64 00 00 |ment. (%|d):.%d..|
|00000930| 35 30 25 25 20 64 69 74 | 68 65 72 65 64 20 67 72 |50%% dit|hered gr|
|00000940| 61 79 20 69 73 20 25 2e | 31 66 20 25 73 0a 00 00 |ay is %.|1f %s...|
|00000950| 57 68 69 74 65 20 69 73 | 20 25 2e 31 66 20 25 73 |White is| %.1f %s|
|00000960| 0a 00 42 6c 61 63 6b 20 | 69 73 20 25 2e 31 66 20 |..Black |is %.1f |
|00000970| 25 73 0a 00 49 74 20 69 | 73 20 65 73 73 65 6e 74 |%s..It i|s essent|
|00000980| 69 61 6c 20 74 68 61 74 | 20 74 68 65 20 63 61 6c |ial that| the cal|
|00000990| 69 62 72 61 74 69 6f 6e | 20 62 65 20 6d 61 64 65 |ibration| be made|
|000009a0| 20 77 69 74 68 20 74 68 | 65 20 73 61 6d 65 20 62 | with th|e same b|
|000009b0| 61 63 6b 67 72 6f 75 6e | 64 0a 6c 75 6d 69 6e 61 |ackgroun|d.lumina|
|000009c0| 6e 63 65 20 61 73 20 77 | 69 6c 6c 20 75 6c 74 69 |nce as w|ill ulti|
|000009d0| 6d 61 74 65 6c 79 20 62 | 65 20 75 73 65 64 20 69 |mately b|e used i|
|000009e0| 6e 20 79 6f 75 72 20 65 | 78 70 65 72 69 6d 65 6e |n your e|xperimen|
|000009f0| 74 73 2e 20 59 6f 75 20 | 6d 61 79 20 73 70 65 63 |ts. You |may spec|
|00000a00| 69 66 79 20 74 68 65 0a | 62 61 63 6b 67 72 6f 75 |ify the.|backgrou|
|00000a10| 6e 64 20 6c 75 6d 69 6e | 61 6e 63 65 20 65 69 74 |nd lumin|ance eit|
|00000a20| 68 65 72 20 61 73 20 61 | 20 6c 75 6d 69 6e 61 6e |her as a| luminan|
|00000a30| 63 65 20 69 6e 20 25 73 | 2c 20 6f 72 20 61 73 20 |ce in %s|, or as |
|00000a40| 61 20 63 6f 72 72 65 73 | 70 6f 6e 64 69 6e 67 20 |a corres|ponding |
|00000a50| 0a 44 41 43 20 76 61 6c | 75 65 20 28 30 2e 2e 25 |.DAC val|ue (0..%|
|00000a60| 64 29 2e 0a 00 00 44 6f | 20 79 6f 75 20 77 69 73 |d)....Do| you wis|
|00000a70| 68 20 74 6f 20 65 6e 74 | 65 72 20 61 20 6c 75 6d |h to ent|er a lum|
|00000a80| 69 6e 61 6e 63 65 3f 00 | 0a 45 6e 74 65 72 20 74 |inance?.|.Enter t|
|00000a90| 68 65 20 64 65 73 69 72 | 65 64 20 62 61 63 6b 67 |he desir|ed backg|
|00000aa0| 72 6f 75 6e 64 20 6c 75 | 6d 69 6e 61 6e 63 65 20 |round lu|minance |
|00000ab0| 69 6e 20 25 73 20 28 25 | 66 29 3a 00 25 6c 66 00 |in %s (%|f):.%lf.|
|00000ac0| 4e 6f 77 20 68 75 6e 74 | 69 6e 67 20 66 6f 72 20 |Now hunt|ing for |
|00000ad0| 74 68 65 20 44 41 43 20 | 76 61 6c 75 65 20 2e 20 |the DAC |value . |
|00000ae0| 2e 20 2e 0a 00 00 57 69 | 6c 6c 20 75 73 65 20 74 |. ....Wi|ll use t|
|00000af0| 68 65 20 6e 65 61 72 65 | 73 74 20 44 41 43 20 76 |he neare|st DAC v|
|00000b00| 61 6c 75 65 2c 20 77 68 | 69 63 68 20 69 73 20 25 |alue, wh|ich is %|
|00000b10| 68 64 0a 00 0a 45 6e 74 | 65 72 20 74 68 65 20 44 |hd...Ent|er the D|
|00000b20| 41 43 20 76 61 6c 75 65 | 20 66 6f 72 20 74 68 65 |AC value| for the|
|00000b30| 20 62 61 63 6b 67 72 6f | 75 6e 64 20 28 25 68 64 | backgro|und (%hd|
|00000b40| 29 3a 00 00 25 68 64 00 | 59 6f 75 72 20 62 61 63 |):..%hd.|Your bac|
|00000b50| 6b 67 72 6f 75 6e 64 20 | 6c 75 6d 69 6e 61 6e 63 |kground |luminanc|
|00000b60| 65 20 69 73 20 25 2e 33 | 66 20 25 73 0a 00 4e 6f |e is %.3|f %s..No|
|00000b70| 77 20 74 61 6b 69 6e 67 | 20 25 64 20 72 65 61 64 |w taking| %d read|
|00000b80| 69 6e 67 73 20 2e 20 2e | 20 2e 0a 00 06 4d 6f 6e |ings . .| ....Mon|
|00000b90| 61 63 6f 00 25 33 64 00 | 25 33 64 25 34 64 25 34 |aco.%3d.|%3d%4d%4|
|00000ba0| 64 00 25 64 20 6f 75 74 | 20 6f 66 20 25 64 20 72 |d.%d out| of %d r|
|00000bb0| 65 61 64 69 6e 67 73 3a | 09 00 45 72 72 6f 72 3a |eadings:|..Error:|
|00000bc0| 20 74 6f 6f 20 6d 61 6e | 79 20 63 6f 65 66 66 69 | too man|y coeffi|
|00000bd0| 63 69 65 6e 74 73 07 0a | 00 00 4c 28 56 29 20 3d |cients..|..L(V) =|
|00000be0| 00 00 20 2b 20 25 36 67 | 20 56 5e 25 64 00 2e 20 |.. + %6g| V^%d.. |
|00000bf0| 20 63 68 69 73 71 20 25 | 67 0a 00 00 0a 71 75 61 | chisq %|g....qua|
|00000c00| 64 72 61 74 69 63 20 66 | 69 74 3a 0a 0a 00 4c 28 |dratic f|it:...L(|
|00000c10| 56 29 20 3d 00 00 20 2b | 20 25 67 20 56 5e 25 64 |V) =.. +| %g V^%d|
|00000c20| 00 00 2e 20 20 63 68 69 | 73 71 20 25 67 0a 00 00 |... chi|sq %g...|
|00000c30| 0a 70 6f 77 65 72 20 6c | 61 77 20 66 69 74 3a 0a |.power l|aw fit:.|
|00000c40| 0a 00 4c 28 56 29 20 3d | 20 25 39 2e 34 66 20 2b |..L(V) =| %9.4f +|
|00000c50| 20 52 65 63 74 69 66 79 | 28 25 39 2e 34 66 20 2b | Rectify|(%9.4f +|
|00000c60| 20 25 39 2e 34 66 20 56 | 29 5e 25 39 2e 34 66 20 | %9.4f V|)^%9.4f |
|00000c70| b1 20 25 39 2e 34 66 0a | 00 00 4c 28 56 29 20 3d |. %9.4f.|..L(V) =|
|00000c80| 20 25 39 2e 34 66 20 2b | 20 52 65 63 74 69 66 79 | %9.4f +| Rectify|
|00000c90| 28 25 39 2e 34 66 20 2b | 20 25 39 2e 34 66 20 56 |(%9.4f +| %9.4f V|
|00000ca0| 29 5e 25 39 2e 34 66 20 | b1 20 25 39 2e 34 66 0a |)^%9.4f |. %9.4f.|
|00000cb0| 00 00 0a 70 6f 77 65 72 | 20 6c 61 77 20 66 69 74 |...power| law fit|
|00000cc0| 2c 20 77 69 74 68 20 66 | 69 78 65 64 20 67 61 6d |, with f|ixed gam|
|00000cd0| 6d 61 3a 0a 0a 00 4c 28 | 56 29 20 3d 20 25 39 2e |ma:...L(|V) = %9.|
|00000ce0| 34 66 20 2b 20 52 65 63 | 74 69 66 79 28 25 39 2e |4f + Rec|tify(%9.|
|00000cf0| 34 66 20 2b 20 25 39 2e | 34 66 20 56 29 5e 25 39 |4f + %9.|4f V)^%9|
|00000d00| 2e 34 66 20 b1 20 25 39 | 2e 34 66 0a 00 00 4c 28 |.4f . %9|.4f...L(|
|00000d10| 56 29 20 3d 20 25 39 2e | 34 66 20 2b 20 52 65 63 |V) = %9.|4f + Rec|
|00000d20| 74 69 66 79 28 25 39 2e | 34 66 20 2b 20 25 39 2e |tify(%9.|4f + %9.|
|00000d30| 34 66 20 56 29 5e 25 39 | 2e 34 66 20 b1 20 25 39 |4f V)^%9|.4f . %9|
|00000d40| 2e 34 66 0a 00 00 50 6c | 65 61 73 65 20 65 6e 74 |.4f...Pl|ease ent|
|00000d50| 65 72 20 67 61 69 6e 20 | 6f 66 20 72 65 64 20 63 |er gain |of red c|
|00000d60| 68 61 6e 6e 65 6c 20 20 | 20 28 25 36 2e 34 66 29 |hannel | (%6.4f)|
|00000d70| 3a 00 25 6c 66 00 50 6c | 65 61 73 65 20 65 6e 74 |:.%lf.Pl|ease ent|
|00000d80| 65 72 20 67 61 69 6e 20 | 6f 66 20 67 72 65 65 6e |er gain |of green|
|00000d90| 20 63 68 61 6e 6e 65 6c | 20 28 25 36 2e 34 66 29 | channel| (%6.4f)|
|00000da0| 3a 00 25 6c 66 00 50 6c | 65 61 73 65 20 65 6e 74 |:.%lf.Pl|ease ent|
|00000db0| 65 72 20 67 61 69 6e 20 | 6f 66 20 62 6c 75 65 20 |er gain |of blue |
|00000dc0| 63 68 61 6e 6e 65 6c 20 | 20 28 25 36 2e 34 66 29 |channel | (%6.4f)|
|00000dd0| 3a 00 25 6c 66 00 67 61 | 69 6e 5b 25 64 5d 3d 25 |:.%lf.ga|in[%d]=%|
|00000de0| 36 2e 34 66 0a 00 53 75 | 6d 20 6f 66 20 67 61 69 |6.4f..Su|m of gai|
|00000df0| 6e 73 20 25 36 2e 34 66 | 0a 00 50 6c 65 61 73 65 |ns %6.4f|..Please|
|00000e00| 20 65 6e 74 65 72 20 67 | 61 69 6e 20 61 63 63 75 | enter g|ain accu|
|00000e10| 72 61 63 79 20 20 20 28 | 25 36 2e 34 66 29 3a 00 |racy (|%6.4f):.|
|00000e20| 25 6c 66 00 43 6f 6e 67 | 72 61 74 75 6c 61 74 69 |%lf.Cong|ratulati|
|00000e30| 6f 6e 73 21 20 59 6f 75 | 27 76 65 20 66 69 6e 69 |ons! You|'ve fini|
|00000e40| 73 68 65 64 20 74 68 65 | 20 6c 75 6d 69 6e 61 6e |shed the| luminan|
|00000e50| 63 65 20 63 61 6c 69 62 | 72 61 74 69 6f 6e 20 6f |ce calib|ration o|
|00000e60| 66 20 73 63 72 65 65 6e | 20 25 68 64 2e 20 54 68 |f screen| %hd. Th|
|00000e70| 65 20 63 61 6c 69 62 72 | 61 74 69 6f 6e 20 72 65 |e calibr|ation re|
|00000e80| 73 75 6c 74 73 0a 68 61 | 76 65 20 62 65 65 6e 20 |sults.ha|ve been |
|00000e90| 73 61 76 65 64 20 61 73 | 20 43 61 6c 69 62 72 61 |saved as| Calibra|
|00000ea0| 74 65 4c 75 6d 69 6e 61 | 6e 63 65 25 68 64 2e 64 |teLumina|nce%hd.d|
|00000eb0| 61 74 61 20 61 6e 64 20 | 4c 75 6d 69 6e 61 6e 63 |ata and |Luminanc|
|00000ec0| 65 52 65 63 6f 72 64 25 | 68 64 2e 68 2e 0a 0a 54 |eRecord%|hd.h...T|
|00000ed0| 68 65 20 43 61 6c 69 62 | 72 61 74 65 4c 75 6d 69 |he Calib|rateLumi|
|00000ee0| 6e 61 6e 63 65 25 68 64 | 2e 64 61 74 61 20 66 69 |nance%hd|.data fi|
|00000ef0| 6c 65 20 69 73 20 61 20 | 74 65 78 74 20 66 69 6c |le is a |text fil|
|00000f00| 65 20 73 75 69 74 61 62 | 6c 65 20 66 6f 72 20 67 |e suitab|le for g|
|00000f10| 72 61 70 68 69 6e 67 20 | 74 68 65 20 6d 6f 6e 69 |raphing |the moni|
|00000f20| 74 6f 72 27 73 20 67 61 | 6d 6d 61 20 66 75 6e 63 |tor's ga|mma func|
|00000f30| 74 69 6f 6e 2e 0a 57 65 | 20 72 65 63 6f 6d 6d 65 |tion..We| recomme|
|00000f40| 6e 64 20 75 73 69 6e 67 | 20 43 72 69 63 6b 65 74 |nd using| Cricket|
|00000f50| 47 72 61 70 68 20 77 69 | 74 68 20 74 68 65 20 43 |Graph wi|th the C|
|00000f60| 61 6c 69 62 72 61 74 65 | 4c 75 6d 69 6e 61 6e 63 |alibrate|Luminanc|
|00000f70| 65 2e 66 6f 72 6d 61 74 | 2e 20 54 68 65 20 56 20 |e.format|. The V |
|00000f80| 63 6f 6c 75 6d 6e 20 69 | 73 20 74 68 65 20 65 71 |column i|s the eq|
|00000f90| 75 69 76 61 6c 65 6e 74 | 0a 6e 75 6d 62 65 72 20 |uivalent|.number |
|00000fa0| 6c 6f 61 64 65 64 20 69 | 6e 74 6f 20 74 68 65 20 |loaded i|nto the |
|00000fb0| 63 6c 75 74 20 28 56 3d | 25 68 64 2a 76 29 2c 20 |clut (V=|%hd*v), |
|00000fc0| 61 6e 64 20 74 68 65 20 | 4c 20 63 6f 6c 75 6d 6e |and the |L column|
|00000fd0| 20 69 73 20 74 68 65 20 | 6d 65 61 73 75 72 65 64 | is the |measured|
|00000fe0| 20 6c 75 6d 69 6e 61 6e | 63 65 2e 0a 0a 54 68 65 | luminan|ce...The|
|00000ff0| 20 70 72 6f 67 72 61 6d | 27 73 20 72 65 73 75 6c | program|'s resul|
|00001000| 74 73 20 68 61 76 65 20 | 61 6c 73 6f 20 62 65 65 |ts have |also bee|
|00001010| 6e 20 73 74 6f 72 65 64 | 20 69 6e 20 61 20 43 20 |n stored| in a C |
|00001020| 68 65 61 64 65 72 20 66 | 69 6c 65 20 63 61 6c 6c |header f|ile call|
|00001030| 65 64 20 4c 75 6d 69 6e | 61 6e 63 65 52 65 63 6f |ed Lumin|anceReco|
|00001040| 72 64 25 68 64 2e 68 20 | 74 68 61 74 20 61 6c 6c |rd%hd.h |that all|
|00001050| 0a 79 6f 75 72 20 70 72 | 6f 67 72 61 6d 73 20 73 |.your pr|ograms s|
|00001060| 68 6f 75 6c 64 20 72 65 | 61 64 20 62 79 20 75 73 |hould re|ad by us|
|00001070| 69 6e 67 20 65 69 74 68 | 65 72 20 23 69 6e 63 6c |ing eith|er #incl|
|00001080| 75 64 65 20 61 74 20 63 | 6f 6d 70 69 6c 65 20 74 |ude at c|ompile t|
|00001090| 69 6d 65 2c 20 6f 72 20 | 52 65 61 64 4c 75 6d 69 |ime, or |ReadLumi|
|000010a0| 6e 61 6e 63 65 52 65 63 | 6f 72 64 28 29 20 61 74 |nanceRec|ord() at|
|000010b0| 0a 72 75 6e 74 69 6d 65 | 2e 20 4c 75 6d 69 6e 61 |.runtime|. Lumina|
|000010c0| 6e 63 65 52 65 63 6f 72 | 64 25 68 64 2e 68 20 64 |nceRecor|d%hd.h d|
|000010d0| 65 73 63 72 69 62 65 73 | 20 74 68 65 20 67 61 69 |escribes| the gai|
|000010e0| 6e 73 20 6f 66 20 74 68 | 65 20 74 68 72 65 65 20 |ns of th|e three |
|000010f0| 76 69 64 65 6f 20 70 61 | 74 68 77 61 79 73 20 6f |video pa|thways o|
|00001100| 66 20 79 6f 75 72 20 76 | 69 64 65 6f 20 63 61 72 |f your v|ideo car|
|00001110| 64 20 61 6e 64 0a 49 53 | 52 20 56 69 64 65 6f 20 |d and.IS|R Video |
|00001120| 41 74 74 65 6e 75 61 74 | 6f 72 2c 20 61 6e 64 20 |Attenuat|or, and |
|00001130| 64 65 73 63 72 69 62 65 | 73 20 74 68 65 20 67 61 |describe|s the ga|
|00001140| 6d 6d 61 20 66 75 6e 63 | 74 69 6f 6e 20 6f 66 20 |mma func|tion of |
|00001150| 79 6f 75 72 20 6d 6f 6e | 69 74 6f 72 2c 20 74 6f |your mon|itor, to|
|00001160| 20 61 6c 6c 6f 77 20 61 | 75 74 6f 6d 61 74 69 63 | allow a|utomatic|
|00001170| 20 67 61 6d 6d 61 0a 63 | 6f 72 72 65 63 74 69 6f | gamma.c|orrectio|
|00001180| 6e 20 6c 61 74 65 72 2c | 20 75 73 69 6e 67 20 53 |n later,| using S|
|00001190| 65 74 4c 75 6d 69 6e 61 | 6e 63 65 28 29 2c 20 65 |etLumina|nce(), e|
|000011a0| 74 63 2e 20 53 65 65 20 | 50 65 6c 6c 69 20 26 20 |tc. See |Pelli & |
|000011b0| 5a 68 61 6e 67 20 28 31 | 39 39 31 29 20 56 69 73 |Zhang (1|991) Vis|
|000011c0| 69 6f 6e 20 52 65 73 65 | 61 72 63 68 20 33 31 3a |ion Rese|arch 31:|
|000011d0| 31 33 33 37 2d 31 33 36 | 30 2e 0a 48 69 74 20 52 |1337-136|0..Hit R|
|000011e0| 45 54 55 52 4e 20 74 6f | 20 65 78 69 74 2e 20 47 |ETURN to| exit. G|
|000011f0| 6f 6f 64 20 6c 75 63 6b | 2e 0a 00 00 4c 75 6d 69 |ood luck|....Lumi|
|00001200| 6e 61 6e 63 65 43 61 6c | 69 62 72 61 74 69 6f 6e |nanceCal|ibration|
|00001210| 25 68 64 2e 64 61 74 61 | 00 00 77 00 2a 0a 00 00 |%hd.data|..w.*...|
|00001220| 56 09 4c 20 09 56 28 4c | 29 20 00 00 09 71 75 61 |V.L .V(L|) ...qua|
|00001230| 64 72 61 74 69 63 09 70 | 6f 6c 79 6e 6f 6d 69 61 |dratic.p|olynomia|
|00001240| 6c 09 70 6f 77 65 72 20 | 00 00 09 4c 2d 71 75 61 |l.power |...L-qua|
|00001250| 64 72 61 74 69 63 09 4c | 2d 70 6f 6c 79 6e 6f 6d |dratic.L|-polynom|
|00001260| 69 61 6c 09 4c 2d 70 6f | 77 65 72 20 00 00 09 56 |ial.L-po|wer ...V|
|00001270| 72 20 09 56 67 20 09 56 | 62 20 00 00 09 4c 72 20 |r .Vg .V|b ...Lr |
|00001280| 09 4c 67 20 09 4c 62 20 | 09 56 28 4c 72 29 20 09 |.Lg .Lb |.V(Lr) .|
|00001290| 56 28 4c 67 29 20 09 56 | 28 4c 62 29 20 00 09 4c |V(Lg) .V|(Lb) ..L|
|000012a0| 52 2e 72 09 4c 52 2e 67 | 20 09 4c 52 2e 62 20 09 |R.r.LR.g| .LR.b .|
|000012b0| 73 75 6d 20 6f 66 20 67 | 61 69 6e 73 00 00 0a 25 |sum of g|ains...%|
|000012c0| 64 09 00 00 25 39 2e 34 | 67 09 00 00 25 39 2e 34 |d...%9.4|g...%9.4|
|000012d0| 67 09 00 00 25 39 2e 34 | 67 09 00 00 25 39 2e 34 |g...%9.4|g...%9.4|
|000012e0| 67 09 00 00 25 39 2e 34 | 67 09 00 00 25 39 2e 34 |g...%9.4|g...%9.4|
|000012f0| 67 09 00 00 25 39 2e 34 | 67 09 00 00 25 39 2e 34 |g...%9.4|g...%9.4|
|00001300| 67 09 00 00 25 66 09 00 | 25 66 09 00 25 66 09 00 |g...%f..|%f..%f..|
|00001310| 25 36 67 09 25 36 67 09 | 25 36 67 09 25 36 67 00 |%6g.%6g.|%6g.%6g.|
|00001320| 4c 75 6d 69 6e 61 6e 63 | 65 52 65 63 6f 72 64 25 |Luminanc|eRecord%|
|00001330| 68 64 2e 68 00 00 50 6c | 65 61 73 65 20 65 6e 74 |hd.h..Pl|ease ent|
|00001340| 65 72 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |er the f|ollowing|
|00001350| 20 64 65 73 63 72 69 70 | 74 69 76 65 20 69 6e 66 | descrip|tive inf|
|00001360| 6f 72 6d 61 74 69 6f 6e | 20 66 6f 72 20 74 68 65 |ormation| for the|
|00001370| 20 25 73 20 66 69 6c 65 | 2e 0a 00 00 25 73 20 25 | %s file|....%s %|
|00001380| 73 00 4c 52 2e 64 61 74 | 65 3d 22 25 73 22 3b 0a |s.LR.dat|e="%s";.|
|00001390| 00 00 45 6e 74 65 72 20 | 4c 52 2e 69 64 2c 20 69 |..Enter |LR.id, i|
|000013a0| 2e 65 2e 20 6d 6f 6e 69 | 74 6f 72 20 6d 6f 64 65 |.e. moni|tor mode|
|000013b0| 6c 20 61 6e 64 20 73 65 | 72 69 61 6c 20 23 20 28 |l and se|rial # (|
|000013c0| 25 73 29 3a 00 00 25 73 | 0a 00 45 6e 74 65 72 20 |%s):..%s|..Enter |
|000013d0| 4c 52 2e 6e 61 6d 65 2c | 20 69 2e 65 2e 20 69 6e |LR.name,| i.e. in|
|000013e0| 66 6f 72 6d 61 6c 20 6d | 6f 6e 69 74 6f 72 20 6e |formal m|onitor n|
|000013f0| 61 6d 65 20 0a 28 25 73 | 29 3a 00 00 25 73 0a 00 |ame .(%s|):..%s..|
|00001400| 45 6e 74 65 72 20 4c 52 | 2e 6e 6f 74 65 73 2c 20 |Enter LR|.notes, |
|00001410| 69 2e 65 2e 20 64 65 74 | 61 69 6c 73 20 6f 66 20 |i.e. det|ails of |
|00001420| 63 61 6c 69 62 72 61 74 | 69 6f 6e 3a 20 77 68 6f |calibrat|ion: who|
|00001430| 20 26 20 68 6f 77 0a 28 | 25 73 29 3a 0a 00 25 73 | & how.(|%s):..%s|
|00001440| 0a 00 4e 6f 6d 69 6e 61 | 6c 6c 79 2c 20 74 68 65 |..Nomina|lly, the|
|00001450| 20 41 70 70 6c 65 20 48 | 69 67 68 2d 52 65 73 2e | Apple H|igh-Res.|
|00001460| 20 4d 6f 6e 6f 63 68 72 | 6f 6d 65 20 4d 6f 6e 69 | Monochr|ome Moni|
|00001470| 74 6f 72 20 68 61 73 20 | 37 36 20 70 69 78 65 6c |tor has |76 pixel|
|00001480| 73 2f 69 6e 63 68 2e 0a | 00 00 4e 6f 6d 69 6e 61 |s/inch..|..Nomina|
|00001490| 6c 6c 79 2c 20 74 68 65 | 20 41 70 70 6c 65 20 48 |lly, the| Apple H|
|000014a0| 69 67 68 2d 52 65 73 2e | 20 52 47 42 20 4d 6f 6e |igh-Res.| RGB Mon|
|000014b0| 69 74 6f 72 20 68 61 73 | 20 36 39 20 70 69 78 65 |itor has| 69 pixe|
|000014c0| 6c 73 2f 69 6e 63 68 2e | 0a 00 45 6e 74 65 72 20 |ls/inch.|..Enter |
|000014d0| 4c 52 2e 64 70 69 2c 20 | 69 2e 65 2e 20 70 69 78 |LR.dpi, |i.e. pix|
|000014e0| 65 6c 73 20 70 65 72 20 | 69 6e 63 68 20 28 25 2e |els per |inch (%.|
|000014f0| 31 66 29 3a 00 00 25 6c | 66 00 25 2e 31 66 0a 00 |1f):..%l|f.%.1f..|
|00001500| 45 6e 74 65 72 20 4c 52 | 2e 75 6e 69 74 73 20 6c |Enter LR|.units l|
|00001510| 75 6d 69 6e 61 6e 63 65 | 20 75 6e 69 74 73 20 28 |uminance| units (|
|00001520| 25 73 29 3a 00 00 25 73 | 0a 00 77 00 2f 2a 20 54 |%s):..%s|..w./* T|
|00001530| 68 69 73 20 25 73 20 66 | 69 6c 65 20 69 73 20 61 |his %s f|ile is a|
|00001540| 20 64 65 73 63 72 69 70 | 74 69 6f 6e 20 6f 66 20 | descrip|tion of |
|00001550| 61 20 6d 6f 6e 69 74 6f | 72 20 70 72 6f 64 75 63 |a monito|r produc|
|00001560| 65 64 20 62 79 20 74 68 | 65 20 43 61 6c 69 62 72 |ed by th|e Calibr|
|00001570| 61 74 65 4c 75 6d 69 6e | 61 6e 63 65 20 70 72 6f |ateLumin|ance pro|
|00001580| 67 72 61 6d 2e 20 2a 2f | 0a 00 2f 2a 20 54 68 69 |gram. */|../* Thi|
|00001590| 73 20 66 69 6c 65 20 6d | 61 79 20 62 65 20 23 69 |s file m|ay be #i|
|000015a0| 6e 63 6c 75 64 65 64 20 | 69 6e 20 61 6e 79 20 43 |ncluded |in any C|
|000015b0| 20 70 72 6f 67 72 61 6d | 2e 20 49 74 20 73 69 6d | program|. It sim|
|000015c0| 70 6c 79 20 66 69 6c 6c | 73 20 69 6e 20 61 20 4c |ply fill|s in a L|
|000015d0| 75 6d 69 6e 61 6e 63 65 | 52 65 63 6f 72 64 20 64 |uminance|Record d|
|000015e0| 61 74 61 20 73 74 72 75 | 63 74 75 72 65 2e 20 2a |ata stru|cture. *|
|000015f0| 2f 0a 00 00 2f 2a 20 4f | 72 20 75 73 65 20 52 65 |/.../* O|r use Re|
|00001600| 61 64 4c 75 6d 69 6e 61 | 6e 63 65 52 65 63 6f 72 |adLumina|nceRecor|
|00001610| 64 2e 63 20 74 6f 20 72 | 65 61 64 20 74 68 69 73 |d.c to r|ead this|
|00001620| 20 66 69 6c 65 20 61 74 | 20 72 75 6e 74 69 6d 65 | file at| runtime|
|00001630| 2e 20 2a 2f 0a 00 2f 2a | 20 54 68 65 20 74 68 65 |. */../*| The the|
|00001640| 6f 72 79 20 69 73 20 64 | 65 73 63 72 69 62 65 64 |ory is d|escribed|
|00001650| 20 62 79 20 50 65 6c 6c | 69 20 26 20 5a 68 61 6e | by Pell|i & Zhan|
|00001660| 67 20 28 31 39 39 31 29 | 2e 20 54 68 65 20 64 61 |g (1991)|. The da|
|00001670| 74 61 20 73 74 72 75 63 | 74 75 72 65 20 69 73 20 |ta struc|ture is |
|00001680| 64 65 66 69 6e 65 64 20 | 69 6e 20 4c 75 6d 69 6e |defined |in Lumin|
|00001690| 61 6e 63 65 2e 68 2e 20 | 20 2a 2f 0a 00 00 2f 2a |ance.h. | */.../*|
|000016a0| 20 43 61 6c 69 62 72 61 | 74 65 4c 75 6d 69 6e 61 | Calibra|teLumina|
|000016b0| 6e 63 65 20 61 6e 64 20 | 4c 75 6d 69 6e 61 6e 63 |nce and |Luminanc|
|000016c0| 65 2e 68 20 61 72 65 20 | 70 61 72 74 20 6f 66 20 |e.h are |part of |
|000016d0| 74 68 65 20 56 69 64 65 | 6f 54 6f 6f 6c 62 6f 78 |the Vide|oToolbox|
|000016e0| 20 73 6f 66 74 77 61 72 | 65 2e 20 2a 2f 0a 00 00 | softwar|e. */...|
|000016f0| 2f 2a 20 50 65 6c 6c 69 | 20 26 20 5a 68 61 6e 67 |/* Pelli| & Zhang|
|00001700| 20 28 31 39 39 31 29 20 | 41 63 63 75 72 61 74 65 | (1991) |Accurate|
|00001710| 20 63 6f 6e 74 72 6f 6c | 20 6f 66 20 63 6f 6e 74 | control| of cont|
|00001720| 72 61 73 74 20 6f 6e 20 | 6d 69 63 72 6f 63 6f 6d |rast on |microcom|
|00001730| 70 75 74 65 72 20 64 69 | 73 70 6c 61 79 73 2e 20 |puter di|splays. |
|00001740| 2a 2f 0a 00 2f 2a 20 56 | 69 73 69 6f 6e 20 52 65 |*/../* V|ision Re|
|00001750| 73 65 61 72 63 68 2c 20 | 33 31 3a 31 33 33 37 2d |search, |31:1337-|
|00001760| 31 33 36 30 2e 20 2a 2f | 0a 00 2f 2a 20 54 68 65 |1360. */|../* The|
|00001770| 20 56 69 64 65 6f 54 6f | 6f 6c 62 6f 78 20 73 6f | VideoTo|olbox so|
|00001780| 66 74 77 61 72 65 20 69 | 73 20 61 76 61 69 6c 61 |ftware i|s availa|
|00001790| 62 6c 65 2c 20 66 72 65 | 65 20 66 6f 72 20 72 65 |ble, fre|e for re|
|000017a0| 73 65 61 72 63 68 20 70 | 75 72 70 6f 73 65 73 2c |search p|urposes,|
|000017b0| 20 66 72 6f 6d 20 44 65 | 6e 69 73 20 50 65 6c 6c | from De|nis Pell|
|000017c0| 69 2e 20 2a 2f 0a 00 00 | 2f 2a 20 49 6e 73 74 69 |i. */...|/* Insti|
|000017d0| 74 75 74 65 20 66 6f 72 | 20 53 65 6e 73 6f 72 79 |tute for| Sensory|
|000017e0| 20 52 65 73 65 61 72 63 | 68 2c 20 53 79 72 61 63 | Researc|h, Syrac|
|000017f0| 75 73 65 20 55 6e 69 76 | 65 72 73 69 74 79 2c 20 |use Univ|ersity, |
|00001800| 53 79 72 61 63 75 73 65 | 2c 20 4e 59 20 31 33 32 |Syracuse|, NY 132|
|00001810| 34 34 2d 35 32 39 30 2e | 20 2a 2f 0a 00 00 2f 2a |44-5290.| */.../*|
|00001820| 20 43 61 75 74 69 6f 6e | 3a 20 74 68 65 20 73 63 | Caution|: the sc|
|00001830| 72 65 65 6e 20 6e 75 6d | 62 65 72 20 75 73 65 64 |reen num|ber used|
|00001840| 20 68 65 72 65 20 61 6e | 64 20 69 6e 20 47 65 74 | here an|d in Get|
|00001850| 53 63 72 65 65 6e 20 44 | 65 76 69 63 65 20 69 73 |Screen D|evice is|
|00001860| 20 4e 4f 54 20 74 68 65 | 20 73 61 6d 65 20 61 73 | NOT the| same as|
|00001870| 20 2a 2f 0a 00 00 2f 2a | 20 64 69 73 70 6c 61 79 | */.../*| display|
|00001880| 65 64 20 62 79 20 74 68 | 65 20 4d 6f 6e 69 74 6f |ed by th|e Monito|
|00001890| 72 73 20 63 64 65 76 20 | 69 6e 20 74 68 65 20 43 |rs cdev |in the C|
|000018a0| 6f 6e 74 72 6f 6c 20 50 | 61 6e 65 6c 2e 20 2a 2f |ontrol P|anel. */|
|000018b0| 0a 00 00 00 50 6c 65 61 | 73 65 20 65 6e 74 65 72 |....Plea|se enter|
|000018c0| 20 6c 75 6d 69 6e 61 6e | 63 65 20 69 6e 20 25 73 | luminan|ce in %s|
|000018d0| 20 28 25 34 2e 31 66 29 | 3a 00 25 6c 66 00 00 01 | (%4.1f)|:.%lf...|
|000018e0| 00 00 00 01 00 01 00 02 | 00 02 00 04 00 04 00 04 |........|........|
|000018f0| 00 08 00 0c 00 01 00 01 | 00 02 00 02 00 04 00 04 |........|........|
|00001900| 00 04 00 08 00 0c 00 04 | 00 00 6e 6f 6e 65 00 00 |........|..none..|
|00001910| 63 68 61 72 00 00 75 6e | 73 69 67 6e 65 64 20 63 |char..un|signed c|
|00001920| 68 61 72 00 00 00 73 68 | 6f 72 74 00 00 00 75 6e |har...sh|ort...un|
|00001930| 73 69 67 6e 65 64 20 73 | 68 6f 72 74 00 00 6c 6f |signed s|hort..lo|
|00001940| 6e 67 00 00 75 6e 73 69 | 67 6e 65 64 20 6c 6f 6e |ng..unsi|gned lon|
|00001950| 67 00 00 00 66 6c 6f 61 | 74 00 00 00 73 68 6f 72 |g...floa|t...shor|
|00001960| 74 20 64 6f 75 62 6c 65 | 00 00 64 6f 75 62 6c 65 |t double|..double|
|00001970| 00 00 63 68 61 72 20 2a | 00 00 75 6e 73 69 67 6e |..char *|..unsign|
|00001980| 65 64 20 63 68 61 72 20 | 2a 00 00 00 73 68 6f 72 |ed char |*...shor|
|00001990| 74 20 2a 00 00 00 75 6e | 73 69 67 6e 65 64 20 73 |t *...un|signed s|
|000019a0| 68 6f 72 74 20 2a 00 00 | 6c 6f 6e 67 20 2a 00 00 |hort *..|long *..|
|000019b0| 75 6e 73 69 67 6e 65 64 | 20 6c 6f 6e 67 20 2a 00 |unsigned| long *.|
|000019c0| 00 00 66 6c 6f 61 74 20 | 2a 00 00 00 73 68 6f 72 |..float |*...shor|
|000019d0| 74 20 64 6f 75 62 6c 65 | 20 2a 00 00 64 6f 75 62 |t double| *..doub|
|000019e0| 6c 65 20 2a 00 00 73 74 | 72 69 6e 67 00 00 75 6e |le *..st|ring..un|
|000019f0| 6b 6e 6f 77 6e 00 00 00 | 55 6e 65 71 75 61 6c 44 |known...|UnequalD|
|00001a00| 65 73 63 72 69 62 65 64 | 56 61 72 50 61 69 72 00 |escribed|VarPair.|
|00001a10| 43 6f 70 79 44 65 73 63 | 72 69 62 65 64 56 61 72 |CopyDesc|ribedVar|
|00001a20| 50 61 69 72 00 00 49 6e | 69 74 69 61 6c 69 7a 65 |Pair..In|itialize|
|00001a30| 41 44 65 73 63 72 69 62 | 65 64 56 61 72 00 50 72 |ADescrib|edVar.Pr|
|00001a40| 69 6e 74 41 6e 41 73 73 | 69 67 6e 6d 65 6e 74 4f |intAnAss|ignmentO|
|00001a50| 66 45 6c 65 6d 65 6e 74 | 00 00 50 72 69 6e 74 41 |fElement|..PrintA|
|00001a60| 6e 41 73 73 69 67 6e 6d | 65 6e 74 00 00 00 52 65 |nAssignm|ent...Re|
|00001a70| 61 64 41 73 73 69 67 6e | 6d 65 6e 74 46 69 6c 65 |adAssign|mentFile|
|00001a80| 00 00 52 65 61 64 41 73 | 73 69 67 6e 6d 65 6e 74 |..ReadAs|signment|
|00001a90| 53 74 72 65 61 6d 00 00 | 52 65 61 64 41 73 73 69 |Stream..|ReadAssi|
|00001aa0| 67 6e 6d 65 6e 74 42 6c | 6f 63 6b 00 52 65 61 64 |gnmentBl|ock.Read|
|00001ab0| 41 73 73 69 67 6e 6d 65 | 6e 74 4c 69 6e 65 00 00 |Assignme|ntLine..|
|00001ac0| 52 65 61 64 41 73 73 69 | 67 6e 6d 65 6e 74 4c 69 |ReadAssi|gnmentLi|
|00001ad0| 6e 65 2f 43 68 65 63 6b | 41 44 65 73 63 72 69 70 |ne/Check|ADescrip|
|00001ae0| 74 69 6f 6e 3a 47 65 74 | 4e 61 6d 65 00 00 47 65 |tion:Get|Name..Ge|
|00001af0| 74 51 75 6f 74 65 64 53 | 74 72 69 6e 67 00 00 00 |tQuotedS|tring...|
|00001b00| 20 09 0a 0d 0b 0c 00 00 | 20 09 0a 0d 0b 0c 00 00 | .......| .......|
|00001b10| 4f 70 65 6e 43 61 6c 46 | 69 6c 65 52 65 61 64 41 |OpenCalF|ileReadA|
|00001b20| 6e 64 43 68 65 63 6b 3a | 20 63 61 6e 6e 6f 74 20 |ndCheck:| cannot |
|00001b30| 6f 70 65 6e 20 66 69 6c | 65 20 22 25 73 22 00 00 |open fil|e "%s"..|
|00001b40| 72 00 72 00 72 00 61 00 | 4f 70 65 6e 43 61 6c 46 |r.r.r.a.|OpenCalF|
|00001b50| 69 6c 65 57 72 69 74 65 | 3a 20 63 61 6e 6e 6f 74 |ileWrite|: cannot|
|00001b60| 20 72 65 6f 70 65 6e 20 | 66 69 6c 65 20 22 25 73 | reopen |file "%s|
|00001b70| 22 00 72 00 61 00 4f 70 | 65 6e 43 61 6c 46 69 6c |".r.a.Op|enCalFil|
|00001b80| 65 57 72 69 74 65 3a 20 | 63 61 6e 6e 6f 74 20 72 |eWrite: |cannot r|
|00001b90| 65 6f 70 65 6e 20 66 69 | 6c 65 20 22 25 73 22 20 |eopen fi|le "%s" |
|00001ba0| 69 6e 20 50 72 65 66 65 | 72 65 6e 63 65 73 20 66 |in Prefe|rences f|
|00001bb0| 6f 6c 64 65 72 00 61 00 | 4f 70 65 6e 43 61 6c 46 |older.a.|OpenCalF|
|00001bc0| 69 6c 65 57 72 69 74 65 | 3a 20 63 61 6e 6e 6f 74 |ileWrite|: cannot|
|00001bd0| 20 63 72 65 61 74 65 20 | 66 69 6c 65 20 22 25 73 | create |file "%s|
|00001be0| 22 20 69 6e 20 50 72 65 | 66 65 72 65 6e 63 65 73 |" in Pre|ferences|
|00001bf0| 20 66 6f 6c 64 65 72 2e | 00 00 41 6c 6c 6f 63 61 | folder.|..Alloca|
|00001c00| 74 65 44 65 73 63 72 69 | 70 74 69 6f 6e 3a 20 6d |teDescri|ption: m|
|00001c10| 65 6d 6f 72 79 20 61 6c | 6c 6f 63 61 74 69 6f 6e |emory al|location|
|00001c20| 20 66 61 69 6c 75 72 65 | 2e 00 44 65 73 63 72 69 | failure|..Descri|
|00001c30| 62 65 2f 41 72 72 61 79 | 2f 46 69 72 73 74 4c 61 |be/Array|/FirstLa|
|00001c40| 73 74 3a 20 74 6f 6f 20 | 6d 61 6e 79 20 64 69 6d |st: too |many dim|
|00001c50| 65 6e 73 69 6f 6e 73 20 | 28 6f 72 20 6d 69 73 73 |ensions |(or miss|
|00001c60| 69 6e 67 20 66 69 6e 61 | 6c 20 30 4c 29 20 66 6f |ing fina|l 0L) fo|
|00001c70| 72 20 22 25 73 22 2e 0a | 00 00 44 65 73 63 72 69 |r "%s"..|..Descri|
|00001c80| 62 65 2f 41 72 72 61 79 | 2f 46 69 72 73 74 4c 61 |be/Array|/FirstLa|
|00001c90| 73 74 3a 20 22 25 73 22 | 20 70 74 72 20 69 73 20 |st: "%s"| ptr is |
|00001ca0| 4e 55 4c 4c 2e 0a 00 00 | 41 73 73 69 67 6e 2e 63 |NULL....|Assign.c|
|00001cb0| 00 00 64 2d 3e 70 74 72 | 21 3d 4e 55 4c 4c 00 00 |..d->ptr|!=NULL..|
|00001cc0| 25 73 3a 20 6e 6f 20 72 | 6f 6f 6d 20 66 6f 72 20 |%s: no r|oom for |
|00001cd0| 25 6c 64 20 62 79 74 65 | 73 20 66 6f 72 20 22 25 |%ld byte|s for "%|
|00001ce0| 73 22 2e 0a 00 00 25 73 | 3a 20 22 25 73 22 20 68 |s"....%s|: "%s" h|
|00001cf0| 61 73 20 75 6e 6b 6e 6f | 77 6e 20 74 79 70 65 20 |as unkno|wn type |
|00001d00| 25 6c 64 2e 0a 00 25 73 | 3a 20 22 25 73 22 20 70 |%ld...%s|: "%s" p|
|00001d10| 74 72 20 69 73 20 4e 55 | 4c 4c 2e 0a 00 00 25 73 |tr is NU|LL....%s|
|00001d20| 3a 20 69 6c 6c 65 67 61 | 6c 20 6e 61 6d 65 20 22 |: illega|l name "|
|00001d30| 25 73 22 2e 0a 00 41 73 | 73 69 67 6e 2e 63 00 00 |%s"...As|sign.c..|
|00001d40| 64 2d 3e 70 74 72 21 3d | 4e 55 4c 4c 00 00 25 73 |d->ptr!=|NULL..%s|
|00001d50| 00 00 25 73 5b 25 6c 64 | 5d 00 25 73 00 00 25 73 |..%s[%ld|].%s..%s|
|00001d60| 5b 25 6c 64 5d 00 41 73 | 73 69 67 6e 2e 63 00 00 |[%ld].As|sign.c..|
|00001d70| 73 74 72 6c 65 6e 28 73 | 29 3c 73 69 7a 65 6f 66 |strlen(s|)<sizeof|
|00001d80| 28 73 29 00 25 73 3a 20 | 74 68 65 20 74 77 6f 20 |(s).%s: |the two |
|00001d90| 44 65 73 63 72 69 70 74 | 69 6f 6e 73 20 6f 66 20 |Descript|ions of |
|00001da0| 22 25 73 22 20 61 72 65 | 20 69 6e 63 6f 6e 73 69 |"%s" are| inconsi|
|00001db0| 73 74 65 6e 74 2e 0a 00 | 25 73 3a 20 74 68 65 20 |stent...|%s: the |
|00001dc0| 74 77 6f 20 69 6e 73 74 | 61 6e 63 65 73 20 6f 66 |two inst|ances of|
|00001dd0| 20 22 25 73 22 20 68 61 | 76 65 20 73 69 67 6e 69 | "%s" ha|ve signi|
|00001de0| 66 69 63 61 6e 74 6c 79 | 20 64 69 66 66 65 72 65 |ficantly| differe|
|00001df0| 6e 74 20 76 61 6c 75 65 | 73 2e 0a 00 25 73 3a 20 |nt value|s...%s: |
|00001e00| 6e 6f 20 72 6f 6f 6d 20 | 66 6f 72 20 25 6c 64 20 |no room |for %ld |
|00001e10| 62 79 74 65 73 20 66 6f | 72 20 22 25 73 22 2e 0a |bytes fo|r "%s"..|
|00001e20| 00 00 25 73 3a 20 74 68 | 65 20 74 77 6f 20 44 65 |..%s: th|e two De|
|00001e30| 73 63 72 69 70 74 69 6f | 6e 73 20 6f 66 20 22 25 |scriptio|ns of "%|
|00001e40| 73 22 20 61 72 65 20 69 | 6e 63 6f 6e 73 69 73 74 |s" are i|nconsist|
|00001e50| 65 6e 74 2e 0a 00 46 69 | 6e 64 44 65 73 63 72 69 |ent...Fi|ndDescri|
|00001e60| 70 74 69 6f 6e 3a 20 63 | 6f 75 6c 64 6e 27 74 20 |ption: c|ouldn't |
|00001e70| 66 69 6e 64 20 79 6f 75 | 72 20 76 61 72 69 61 62 |find you|r variab|
|00001e80| 6c 65 2e 0a 00 00 61 00 | 0a 00 0a 00 25 73 3a 20 |le....a.|....%s: |
|00001e90| 6e 6f 20 72 6f 6f 6d 20 | 66 6f 72 20 25 6c 64 20 |no room |for %ld |
|00001ea0| 62 79 74 65 73 2e 0a 00 | 25 73 3d 00 25 73 3a 20 |bytes...|%s=.%s: |
|00001eb0| 6e 6f 20 72 6f 6f 6d 20 | 66 6f 72 20 25 6c 64 20 |no room |for %ld |
|00001ec0| 62 79 74 65 73 2e 0a 00 | 22 00 22 00 3b 00 5c 0a |bytes...|".".;.\.|
|00001ed0| 00 00 5c 0a 00 00 20 20 | 20 20 00 00 0a 00 5c 0a |..\... | ....\.|
|00001ee0| 00 00 20 20 20 20 00 00 | 41 73 73 69 67 6e 2e 63 |.. ..|Assign.c|
|00001ef0| 00 00 64 2d 3e 64 69 6d | 5b 30 5d 3d 3d 30 00 00 |..d->dim|[0]==0..|
|00001f00| 25 73 3d 00 25 6c 64 3b | 00 00 25 6c 75 3b 00 00 |%s=.%ld;|..%lu;..|
|00001f10| 25 6c 64 3b 00 00 25 6c | 75 3b 00 00 25 6c 64 3b |%ld;..%l|u;..%ld;|
|00001f20| 00 00 25 6c 75 3b 00 00 | 25 73 3a 20 6e 6f 20 72 |..%lu;..|%s: no r|
|00001f30| 6f 6f 6d 20 66 6f 72 20 | 25 6c 64 20 62 79 74 65 |oom for |%ld byte|
|00001f40| 73 2e 0a 00 22 25 73 22 | 3b 00 25 2e 2a 67 3b 00 |s..."%s"|;.%.*g;.|
|00001f50| 25 2e 2a 67 3b 00 25 2e | 2a 67 3b 00 22 00 22 00 |%.*g;.%.|*g;.".".|
|00001f60| 3b 00 50 72 69 6e 74 41 | 6e 41 73 73 69 67 6e 6d |;.PrintA|nAssignm|
|00001f70| 65 6e 74 3a 20 6f 6f 70 | 73 2e 20 22 25 73 22 20 |ent: oop|s. "%s" |
|00001f80| 6f 66 20 74 79 70 65 20 | 28 25 73 29 20 66 65 6c |of type |(%s) fel|
|00001f90| 6c 20 74 68 72 6f 75 67 | 68 20 61 20 63 72 61 63 |l throug|h a crac|
|00001fa0| 6b 2e 0a 00 20 2f 2a ca | 25 73 ca 2a 2f 00 72 00 |k... /*.|%s.*/.r.|
|00001fb0| 25 73 3a 20 6e 6f 20 72 | 6f 6f 6d 20 66 6f 72 20 |%s: no r|oom for |
|00001fc0| 25 6c 64 20 62 79 74 65 | 73 2e 0a 00 75 6e 6b 6e |%ld byte|s...unkn|
|00001fd0| 6f 77 6e 20 76 61 72 69 | 61 62 6c 65 00 00 65 78 |own vari|able..ex|
|00001fe0| 70 65 63 74 65 64 20 22 | 5b 22 00 00 74 6f 6f 20 |pected "|["..too |
|00001ff0| 6d 61 6e 79 20 64 69 6d | 65 6e 73 69 6f 6e 73 00 |many dim|ensions.|
|00002000| 65 78 70 65 63 74 65 64 | 20 73 75 62 73 63 72 69 |expected| subscri|
|00002010| 70 74 00 00 73 75 62 73 | 63 72 69 70 74 20 6f 75 |pt..subs|cript ou|
|00002020| 74 20 6f 66 20 62 6f 75 | 6e 64 73 3a 20 25 73 00 |t of bou|nds: %s.|
|00002030| 65 78 70 65 63 74 65 64 | 20 22 5d 22 00 00 65 78 |expected| "]"..ex|
|00002040| 70 65 63 74 65 64 20 22 | 3d 22 00 00 22 25 73 22 |pected "|=".."%s"|
|00002050| 3a 20 77 72 6f 6e 67 20 | 6e 75 6d 62 65 72 20 6f |: wrong |number o|
|00002060| 66 20 73 75 62 73 63 72 | 69 70 74 73 00 00 30 78 |f subscr|ipts..0x|
|00002070| 00 00 30 78 00 00 30 58 | 00 00 30 58 00 00 41 73 |..0x..0X|..0X..As|
|00002080| 73 69 67 6e 2e 63 00 00 | 30 00 69 6e 63 6f 6e 73 |sign.c..|0.incons|
|00002090| 69 73 74 65 6e 74 20 64 | 69 6d 65 6e 73 69 6f 6e |istent d|imension|
|000020a0| 61 6c 69 74 79 20 6f 66 | 20 22 25 73 22 00 65 78 |ality of| "%s".ex|
|000020b0| 70 65 63 74 65 64 20 25 | 73 00 65 78 70 65 63 74 |pected %|s.expect|
|000020c0| 65 64 20 22 3b 22 00 00 | 2f 2a 55 4e 4b 4e 4f 57 |ed ";"..|/*UNKNOW|
|000020d0| 4e 3a 20 00 2f 2a 4f 55 | 54 20 4f 46 20 42 4f 55 |N: ./*OU|T OF BOU|
|000020e0| 4e 44 53 3a 20 00 2a 2f | 20 00 65 78 70 65 63 74 |NDS: .*/| .expect|
|000020f0| 65 64 20 6e 61 6d 65 00 | 25 73 3a 20 6e 6f 20 72 |ed name.|%s: no r|
|00002100| 6f 6f 6d 20 66 6f 72 20 | 25 6c 64 20 62 79 74 65 |oom for |%ld byte|
|00002110| 73 2e 0a 00 2d 3e 00 00 | 2d 3e 00 00 22 25 73 3d |s...->..|->.."%s=|
|00002120| 22 2c 20 25 6c 64 20 65 | 78 74 72 61 20 68 65 78 |", %ld e|xtra hex|
|00002130| 20 64 69 67 69 74 73 00 | 22 25 73 3d 22 2c 20 25 | digits.|"%s=", %|
|00002140| 6c 64 20 74 6f 6f 20 66 | 65 77 20 68 65 78 20 64 |ld too f|ew hex d|
|00002150| 69 67 69 74 73 00 22 25 | 73 3d 22 2c 20 68 65 78 |igits."%|s=", hex|
|00002160| 20 73 74 72 69 6e 67 20 | 63 6f 6e 74 61 69 6e 73 | string |contains|
|00002170| 20 6e 6f 6e 20 68 65 78 | 20 63 68 61 72 3a 0a 22 | non hex| char:."|
|00002180| 25 73 22 0a 00 00 65 78 | 70 65 63 74 65 64 20 27 |%s"...ex|pected '|
|00002190| 22 27 00 00 5c 22 00 00 | 25 73 3a 20 6e 6f 20 72 |"'..\"..|%s: no r|
|000021a0| 6f 6f 6d 20 66 6f 72 20 | 25 6c 64 20 62 79 74 65 |oom for |%ld byte|
|000021b0| 73 2e 0a 00 5c 0a 00 00 | 5c 0a 00 00 65 78 70 65 |s...\...|\...expe|
|000021c0| 63 74 65 64 20 27 22 27 | 00 00 25 73 3a 20 6e 6f |cted '"'|..%s: no|
|000021d0| 20 72 6f 6f 6d 20 66 6f | 72 20 25 6c 64 20 62 79 | room fo|r %ld by|
|000021e0| 74 65 73 2e 0a 00 07 0a | 52 65 61 64 41 73 73 69 |tes.....|ReadAssi|
|000021f0| 67 6e 6d 65 6e 74 4c 69 | 6e 65 3a 20 00 00 2e 0a |gnmentLi|ne: ....|
|00002200| 00 00 2e 20 51 75 69 74 | 74 69 6e 67 20 61 74 20 |... Quit|ting at |
|00002210| 7c 2e 0a 00 22 0a 00 00 | 22 00 0a 00 20 00 00 00 ||..."...|"... ...|
|00002220| 70 72 65 6d 61 74 75 72 | 65 20 65 6e 64 20 6f 66 |prematur|e end of|
|00002230| 20 73 74 72 65 61 6d 00 | 6c 69 6e 65 20 65 78 63 | stream.|line exc|
|00002240| 65 65 64 73 20 62 75 66 | 66 65 72 20 73 69 7a 65 |eeds buf|fer size|
|00002250| 00 00 25 73 00 00 2f 2a | 00 00 2f 2a 00 00 2a 2f |..%s../*|../*..*/|
|00002260| 00 00 25 73 00 00 25 73 | 2f 00 2f 2f 00 00 2f 2f |..%s..%s|/.//..//|
|00002270| 00 00 25 73 00 00 5c 0a | 00 00 5c 0a 00 00 20 5c |..%s..\.|..\... \|
|00002280| 0a 00 0a 00 4e 41 4e 00 | 4e 41 4e 00 4e 61 4e 00 |....NAN.|NAN.NaN.|
|00002290| 4e 61 4e 00 4e 61 6e 00 | 4e 61 6e 00 6e 61 6e 00 |NaN.Nan.|Nan.nan.|
|000022a0| 6e 61 6e 00 30 31 32 33 | 34 35 36 37 38 39 61 62 |nan.0123|456789ab|
|000022b0| 63 64 65 66 41 42 43 44 | 45 46 5b 5d 28 29 00 00 |cdefABCD|EF[]()..|
|000022c0| 49 4e 46 00 49 6e 66 00 | 69 6e 66 00 2d 49 4e 46 |INF.Inf.|inf.-INF|
|000022d0| 00 00 2d 49 6e 66 00 00 | 2d 69 6e 66 00 00 65 78 |..-Inf..|-inf..ex|
|000022e0| 70 65 63 74 65 64 20 22 | 27 22 00 00 65 78 70 65 |pected "|'"..expe|
|000022f0| 63 74 65 64 20 22 27 22 | 00 00 25 63 00 00 5c 22 |cted "'"|..%c..\"|
|00002300| 00 00 5c 5c 00 00 5c 6e | 00 00 5c 74 00 00 5c 62 |..\\..\n|..\t..\b|
|00002310| 00 00 5c 72 00 00 5c 76 | 00 00 5c 66 00 00 ca 00 |..\r..\v|..\f....|
|00002320| 5c 25 30 33 6c 6f 00 00 | 22 0a 00 00 20 20 20 20 |\%03lo..|"... |
|00002330| 22 00 50 72 69 6e 74 57 | 72 61 70 70 65 64 54 65 |".PrintW|rappedTe|
|00002340| 78 74 3a 20 6d 61 6c 6c | 6f 63 28 25 6c 64 29 20 |xt: mall|oc(%ld) |
|00002350| 66 61 69 6c 65 64 2e 0a | 00 00 25 73 00 00 61 00 |failed..|..%s..a.|
|00002360| 50 72 69 6e 74 57 72 61 | 70 70 65 64 54 65 78 74 |PrintWra|ppedText|
|00002370| 54 6f 46 69 6c 65 3a 20 | 66 6f 70 65 6e 28 22 25 |ToFile: |fopen("%|
|00002380| 73 22 2c 2e 2e 2e 29 20 | 66 61 69 6c 65 64 2e 00 |s",...) |failed..|
|00002390| 50 72 69 6e 74 43 6f 6d | 6d 65 6e 74 53 74 72 69 |PrintCom|mentStri|
|000023a0| 6e 67 3a 20 6d 61 6c 6c | 6f 63 28 25 6c 64 29 20 |ng: mall|oc(%ld) |
|000023b0| 66 61 69 6c 65 64 2e 0a | 00 00 2f 2a 20 00 20 2a |failed..|../* . *|
|000023c0| 2f 0a 00 00 61 00 50 72 | 69 6e 74 57 72 61 70 70 |/...a.Pr|intWrapp|
|000023d0| 65 64 43 6f 6d 6d 65 6e | 74 54 6f 46 69 6c 65 3a |edCommen|tToFile:|
|000023e0| 20 66 6f 70 65 6e 28 22 | 25 73 22 2c 2e 2e 2e 29 | fopen("|%s",...)|
|000023f0| 20 66 61 69 6c 65 64 2e | 00 00 4e 6f 00 00 59 65 | failed.|..No..Ye|
|00002400| 73 00 ff ff d9 ce ff ff | d9 d2 00 00 43 68 6f 6f |s.......|....Choo|
|00002410| 73 65 2e 63 00 00 73 74 | 72 69 6e 67 21 3d 4e 55 |se.c..st|ring!=NU|
|00002420| 4c 4c 00 00 25 73 00 00 | 0a 00 20 28 25 73 29 3a |LL..%s..|.. (%s):|
|00002430| 00 00 25 63 00 00 08 20 | 08 00 25 73 2e 00 43 68 |..%c... |..%s..Ch|
|00002440| 6f 6f 73 65 2e 63 00 00 | 73 74 72 69 6e 67 21 3d |oose.c..|string!=|
|00002450| 4e 55 4c 4c 00 00 25 73 | 25 73 00 00 25 73 2c 20 |NULL..%s|%s..%s, |
|00002460| 00 00 25 73 2c 20 6f 72 | 20 00 25 73 20 6f 72 20 |..%s, or| .%s or |
|00002470| 00 00 25 73 00 00 00 01 | 00 00 00 ff 00 00 ff ff |..%s....|........|
|00002480| 00 ff ff ff 00 00 47 44 | 4f 70 65 6e 57 69 6e 64 |......GD|OpenWind|
|00002490| 6f 77 2e 63 00 00 74 61 | 62 6c 65 21 3d 4e 55 4c |ow.c..ta|ble!=NUL|
|000024a0| 4c 00 47 44 4f 70 65 6e | 57 69 6e 64 6f 77 2e 63 |L.GDOpen|Window.c|
|000024b0| 00 00 28 2a 2a 28 2a 2a | 70 6d 29 2e 70 6d 54 61 |..(**(**|pm).pmTa|
|000024c0| 62 6c 65 29 2e 63 74 53 | 69 7a 65 3d 3d 28 2a 2a |ble).ctS|ize==(**|
|000024d0| 74 61 62 6c 65 29 2e 63 | 74 53 69 7a 65 00 47 44 |table).c|tSize.GD|
|000024e0| 4f 70 65 6e 57 69 6e 64 | 6f 77 2e 63 00 00 28 2a |OpenWind|ow.c..(*|
|000024f0| 2a 74 61 62 6c 65 29 2e | 63 74 53 65 65 64 3d 3d |*table).|ctSeed==|
|00002500| 69 64 00 00 47 44 4f 70 | 65 6e 57 69 6e 64 6f 77 |id..GDOp|enWindow|
|00002510| 2e 63 00 00 41 64 64 45 | 78 70 6c 69 63 69 74 50 |.c..AddE|xplicitP|
|00002520| 61 6c 65 74 74 65 3a 20 | 77 69 6e 64 6f 77 20 68 |alette: |window h|
|00002530| 61 73 20 6e 6f 20 64 65 | 76 69 63 65 21 20 25 73 |as no de|vice! %s|
|00002540| 20 6c 69 6e 65 20 25 64 | 2e 0a 00 00 47 44 46 72 | line %d|....GDFr|
|00002550| 61 6d 65 52 61 74 65 3a | 20 56 42 4c 49 6e 73 74 |ameRate:| VBLInst|
|00002560| 61 6c 6c 3a 20 65 72 72 | 6f 72 20 25 64 0a 00 00 |all: err|or %d...|
|00002570| 47 44 56 42 4c 52 61 74 | 65 3a 20 56 42 4c 49 6e |GDVBLRat|e: VBLIn|
|00002580| 73 74 61 6c 6c 3a 20 65 | 72 72 6f 72 20 25 64 0a |stall: e|rror %d.|
|00002590| 00 00 05 6d 6f 76 69 65 | 47 44 4d 6f 76 69 65 52 |...movie|GDMovieR|
|000025a0| 61 74 65 3a 20 43 6f 70 | 79 42 69 74 73 20 67 65 |ate: Cop|yBits ge|
|000025b0| 6e 65 72 61 74 65 64 20 | 51 75 69 63 6b 44 72 61 |nerated |QuickDra|
|000025c0| 77 20 65 72 72 6f 72 20 | 25 64 0a 00 47 44 4d 6f |w error |%d..GDMo|
|000025d0| 76 69 65 52 61 74 65 3a | 20 43 6f 70 79 42 69 74 |vieRate:| CopyBit|
|000025e0| 73 20 67 65 6e 65 72 61 | 74 65 64 20 51 75 69 63 |s genera|ted Quic|
|000025f0| 6b 44 72 61 77 20 65 72 | 72 6f 72 20 25 64 0a 00 |kDraw er|ror %d..|
|00002600| 47 44 4d 6f 76 69 65 52 | 61 74 65 3a 20 43 6f 70 |GDMovieR|ate: Cop|
|00002610| 79 42 69 74 73 20 67 65 | 6e 65 72 61 74 65 64 20 |yBits ge|nerated |
|00002620| 51 75 69 63 6b 44 72 61 | 77 20 65 72 72 6f 72 20 |QuickDra|w error |
|00002630| 25 64 0a 00 47 44 4d 6f | 76 69 65 52 61 74 65 3a |%d..GDMo|vieRate:|
|00002640| 20 4e 6f 74 20 65 6e 6f | 75 67 68 20 6d 65 6d 6f | Not eno|ugh memo|
|00002650| 72 79 21 0a 00 00 ff ff | ff ff 00 ff ff ff ff ff |ry!.....|........|
|00002660| ff ff 00 00 00 02 00 04 | 00 00 00 10 00 00 01 00 |........|........|
|00002670| 00 00 00 20 00 00 01 00 | 00 00 47 65 74 47 61 6d |... ....|..GetGam|
|00002680| 6d 61 3a 20 47 44 47 65 | 74 47 61 6d 6d 61 28 29 |ma: GDGe|tGamma()|
|00002690| 20 65 72 72 6f 72 20 25 | 64 0a 00 00 54 68 65 20 | error %|d...The |
|000026a0| 76 69 64 65 6f 20 64 72 | 69 76 65 72 20 64 6f 65 |video dr|iver doe|
|000026b0| 73 6e 27 74 20 73 75 70 | 70 6f 72 74 20 74 68 69 |sn't sup|port thi|
|000026c0| 73 20 63 61 6c 6c 2e 0a | 00 00 47 61 6d 6d 61 20 |s call..|..Gamma |
|000026d0| 54 61 62 6c 65 3a 20 69 | 64 65 6e 74 69 74 79 20 |Table: i|dentity |
|000026e0| 74 72 61 6e 73 66 6f 72 | 6d 61 74 69 6f 6e 0a 00 |transfor|mation..|
|000026f0| 47 61 6d 6d 61 20 54 61 | 62 6c 65 3a 0a 00 61 74 |Gamma Ta|ble:..at|
|00002700| 20 30 78 25 6c 78 2c 67 | 44 61 74 61 57 69 64 74 | 0x%lx,g|DataWidt|
|00002710| 68 20 25 64 2c 67 44 61 | 74 61 43 6e 74 20 25 64 |h %d,gDa|taCnt %d|
|00002720| 2c 67 56 65 72 73 69 6f | 6e 20 25 64 2c 67 54 79 |,gVersio|n %d,gTy|
|00002730| 70 65 20 25 64 2c 67 46 | 6f 72 6d 75 6c 61 53 69 |pe %d,gF|ormulaSi|
|00002740| 7a 65 20 25 64 2c 67 43 | 68 61 6e 43 6e 74 20 25 |ze %d,gC|hanCnt %|
|00002750| 64 0a 00 00 25 33 64 3a | 20 00 20 25 33 75 00 00 |d...%3d:| . %3u..|
|00002760| 20 25 33 75 00 00 0a 00 | 19 2e 44 69 73 70 6c 61 | %3u....|..Displa|
|00002770| 79 5f 56 69 64 65 6f 5f | 41 70 70 6c 65 5f 52 42 |y_Video_|Apple_RB|
|00002780| 56 31 14 2e 43 6f 6c 6f | 72 5f 56 69 64 65 6f 5f |V1..Colo|r_Video_|
|00002790| 44 69 73 70 6c 61 79 00 | 00 00 19 2e 44 69 73 70 |Display.|....Disp|
|000027a0| 6c 61 79 5f 56 69 64 65 | 6f 5f 41 70 70 6c 65 5f |lay_Vide|o_Apple_|
|000027b0| 52 42 56 31 50 61 74 63 | 68 4d 61 63 49 49 63 69 |RBV1Patc|hMacIIci|
|000027c0| 56 69 64 65 6f 44 72 69 | 76 65 72 20 65 72 72 6f |VideoDri|ver erro|
|000027d0| 72 2e 0a 00 50 61 74 63 | 68 4d 61 63 49 49 63 69 |r...Patc|hMacIIci|
|000027e0| 56 69 64 65 6f 44 72 69 | 76 65 72 20 65 72 72 6f |VideoDri|ver erro|
|000027f0| 72 2e 0a 00 00 00 3f ff | 3f ff 80 00 00 00 40 02 |r.....?.|?.....@.|
|00002800| 40 02 a0 00 00 00 40 05 | 40 05 c8 00 00 00 40 07 |@.....@.|@.....@.|
|00002810| 40 07 fa 00 00 00 3b a3 | d7 0a 3b c4 9b a6 3c 23 |@.....;.|..;...<#|
|00002820| d7 0a 3c 44 9b a6 3c 75 | c2 8f 3c a3 d7 0a 3c f5 |..<D..<u|..<...<.|
|00002830| c2 8f 3d 4c cc cd 3d 75 | c2 8f 3d 75 c2 8f 3d cc |..=L..=u|..=u..=.|
|00002840| cc cd 3d f5 c2 8f 3e 19 | 99 9a 3e 4c cc cd 3e 99 |..=...>.|..>L..>.|
|00002850| 99 9a 3f 00 00 00 3f 19 | 99 9a 3f 19 99 9a 3f 80 |..?...?.|..?...?.|
|00002860| 00 00 3f 99 99 9a 3f c0 | 00 00 40 00 00 00 40 40 |..?...?.|..@...@@|
|00002870| 00 00 40 a0 00 00 40 c0 | 00 00 40 c0 00 00 41 20 |..@...@.|..@...A |
|00002880| 00 00 41 40 00 00 41 70 | 00 00 41 a0 00 00 41 f0 |..A@..Ap|..A...A.|
|00002890| 00 00 42 48 00 00 42 70 | 00 00 42 70 00 00 42 c8 |..BH..Bp|..Bp..B.|
|000028a0| 00 00 42 f0 00 00 43 16 | 00 00 43 48 00 00 43 96 |..B...C.|..CH..C.|
|000028b0| 00 00 43 fa 00 00 44 16 | 00 00 44 16 00 00 44 7a |..C...D.|..D...Dz|
|000028c0| 00 00 44 96 00 00 44 bb | 80 00 44 fa 00 00 45 3b |..D...D.|..D...E;|
|000028d0| 80 00 45 9c 40 00 45 bb | 80 00 45 bb 80 00 46 1c |..E.@.E.|..E...F.|
|000028e0| 40 00 46 3b 80 00 46 6a | 60 00 46 9c 40 00 46 ea |@.F;..Fj|`.F.@.F.|
|000028f0| 60 00 47 43 50 00 47 6a | 60 00 47 6a 60 00 47 c3 |`.GCP.Gj|`.Gj`.G.|
|00002900| 50 00 47 ea 60 00 48 12 | 7c 00 48 43 50 00 48 92 |P.G.`.H.||.HCP.H.|
|00002910| 7c 00 49 12 7c 00 00 3f | 00 0f 00 37 00 2f 00 27 ||.I.|..?|...7./.'|
|00002920| 00 1f 00 17 00 3e 00 0e | 00 07 00 36 00 2e 00 26 |.....>..|...6...&|
|00002930| 00 1e 00 16 00 3d 00 06 | 00 0d 00 35 00 2d 00 25 |.....=..|...5.-.%|
|00002940| 00 1d 00 15 00 3c 00 0c | 00 05 00 34 00 2c 00 24 |.....<..|...4.,.$|
|00002950| 00 1c 00 14 00 3b 00 0b | 00 04 00 33 00 2b 00 23 |.....;..|...3.+.#|
|00002960| 00 1b 00 13 00 3a 00 03 | 00 0a 00 32 00 2a 00 22 |.....:..|...2.*."|
|00002970| 00 1a 00 12 00 39 00 09 | 00 02 00 31 00 29 00 21 |.....9..|...1.).!|
|00002980| 00 19 00 11 00 38 00 01 | 00 08 00 30 00 28 00 20 |.....8..|...0.(. |
|00002990| 00 18 00 10 00 00 ff ff | 47 65 74 56 6f 6c 74 61 |........|GetVolta|
|000029a0| 67 65 3a 20 6e 20 25 6c | 64 20 74 6f 6f 20 6c 61 |ge: n %l|d too la|
|000029b0| 72 67 65 0a 00 00 47 65 | 74 56 6f 6c 74 61 67 65 |rge...Ge|tVoltage|
|000029c0| 3a 20 6f 75 74 20 6f 66 | 20 6d 65 6d 6f 72 79 21 |: out of| memory!|
|000029d0| 0a 00 47 65 74 56 6f 6c | 74 61 67 65 3a 20 57 61 |..GetVol|tage: Wa|
|000029e0| 72 6e 69 6e 67 3a 20 72 | 65 74 72 69 65 76 65 64 |rning: r|etrieved|
|000029f0| 20 6f 6e 6c 79 20 25 34 | 6c 64 20 6f 66 20 74 68 | only %4|ld of th|
|00002a00| 65 20 25 34 6c 64 20 73 | 61 6d 70 6c 65 73 20 72 |e %4ld s|amples r|
|00002a10| 65 71 75 65 73 74 65 64 | 2e 0a 00 00 47 65 74 56 |equested|....GetV|
|00002a20| 6f 6c 74 61 67 65 3a 20 | 76 6f 6c 74 61 67 65 4f |oltage: |voltageO|
|00002a30| 76 65 72 66 6c 6f 77 20 | 3e 25 2e 32 66 20 56 20 |verflow |>%.2f V |
|00002a40| 61 74 20 67 61 69 6e 20 | 25 2e 30 66 2e 20 54 72 |at gain |%.0f. Tr|
|00002a50| 79 69 6e 67 20 61 67 61 | 69 6e 20 61 74 20 6c 6f |ying aga|in at lo|
|00002a60| 77 65 72 20 67 61 69 6e | 2e 0a 00 00 47 65 74 56 |wer gain|....GetV|
|00002a70| 6f 6c 74 61 67 65 3a 20 | 76 6f 6c 74 61 67 65 4f |oltage: |voltageO|
|00002a80| 76 65 72 66 6c 6f 77 20 | 3e 25 2e 32 66 20 56 20 |verflow |>%.2f V |
|00002a90| 61 74 20 67 61 69 6e 20 | 25 2e 30 66 2e 0a 00 00 |at gain |%.0f....|
|00002aa0| 47 65 74 56 6f 6c 74 61 | 67 65 3a 20 76 6f 6c 74 |GetVolta|ge: volt|
|00002ab0| 61 67 65 55 6e 64 65 72 | 66 6c 6f 77 20 3c 25 2e |ageUnder|flow <%.|
|00002ac0| 33 66 20 56 2e 0a 00 00 | 49 6e 69 74 69 61 74 65 |3f V....|Initiate|
|00002ad0| 56 6f 6c 74 61 67 65 53 | 61 6d 70 6c 69 6e 67 3a |VoltageS|ampling:|
|00002ae0| 20 53 6f 72 72 79 2c 20 | 49 20 6e 65 65 64 20 61 | Sorry, |I need a|
|00002af0| 20 44 61 74 61 20 54 72 | 61 6e 73 6c 61 74 69 6f | Data Tr|anslatio|
|00002b00| 6e 20 46 6f 72 65 52 75 | 6e 6e 65 72 20 41 2f 44 |n ForeRu|nner A/D|
|00002b10| 20 63 61 72 64 2e 0a 00 | 52 65 74 72 69 65 76 65 | card...|Retrieve|
|00002b20| 56 6f 6c 74 61 67 65 73 | 3a 20 53 6f 72 72 79 2c |Voltages|: Sorry,|
|00002b30| 20 49 20 6e 65 65 64 20 | 61 20 44 61 74 61 20 54 | I need |a Data T|
|00002b40| 72 61 6e 73 6c 61 74 69 | 6f 6e 20 46 6f 72 65 52 |ranslati|on ForeR|
|00002b50| 75 6e 6e 65 72 20 41 2f | 44 20 63 61 72 64 2e 0a |unner A/|D card..|
|00002b60| 00 00 2e 46 6f 72 65 52 | 75 6e 6e 65 72 00 30 31 |...ForeR|unner.01|
|00002b70| 32 33 34 35 36 37 38 39 | 61 62 63 64 65 66 00 00 |23456789|abcdef..|
|00002b80| 49 73 4e 61 6e 2e 63 00 | 25 73 20 6c 69 6e 65 20 |IsNan.c.|%s line |
|00002b90| 25 64 3a 20 49 6c 6c 65 | 67 61 6c 20 73 69 7a 65 |%d: Ille|gal size|
|00002ba0| 6f 66 28 64 6f 75 62 6c | 65 29 3d 3d 25 6c 64 0a |of(doubl|e)==%ld.|
|00002bb0| 00 00 49 73 4e 61 6e 2e | 63 00 25 73 20 6c 69 6e |..IsNan.|c.%s lin|
|00002bc0| 65 20 25 64 3a 20 49 6c | 6c 65 67 61 6c 20 73 69 |e %d: Il|legal si|
|00002bd0| 7a 65 6f 66 28 64 6f 75 | 62 6c 65 29 3d 3d 25 6c |zeof(dou|ble)==%l|
|00002be0| 64 0a 00 00 00 01 00 00 | 07 53 65 74 4c 75 6d 69 |d.......|.SetLumi|
|00002bf0| 6e 61 6e 63 65 3a 20 69 | 6c 6c 65 67 61 6c 20 65 |nance: i|llegal e|
|00002c00| 6e 74 72 79 20 25 64 0a | 00 00 07 53 65 74 4c 75 |ntry %d.|...SetLu|
|00002c10| 6d 69 6e 61 6e 63 65 73 | 41 6e 64 52 61 6e 67 65 |minances|AndRange|
|00002c20| 3a 20 69 6c 6c 65 67 61 | 6c 20 65 6e 74 72 69 65 |: illega|l entrie|
|00002c30| 73 20 25 64 20 25 64 0a | 00 00 53 65 74 4c 75 6d |s %d %d.|..SetLum|
|00002c40| 69 6e 61 6e 63 65 73 41 | 6e 64 52 61 6e 67 65 3a |inancesA|ndRange:|
|00002c50| 20 6e 6f 74 20 65 6e 6f | 75 67 68 20 73 74 61 63 | not eno|ugh stac|
|00002c60| 6b 20 73 70 61 63 65 2e | 07 0a 00 00 47 65 74 4c |k space.|....GetL|
|00002c70| 75 6d 69 6e 61 6e 63 65 | 3a 20 69 6c 6c 65 67 61 |uminance|: illega|
|00002c80| 6c 20 65 6e 74 72 79 20 | 25 64 0a 00 47 65 74 4c |l entry |%d..GetL|
|00002c90| 75 6d 69 6e 61 6e 63 65 | 3a 20 47 44 47 65 74 45 |uminance|: GDGetE|
|00002ca0| 6e 74 72 69 65 73 20 65 | 72 72 6f 72 20 25 64 07 |ntries e|rror %d.|
|00002cb0| 00 00 4c 6f 61 64 4c 75 | 6d 69 6e 61 6e 63 65 73 |..LoadLu|minances|
|00002cc0| 3a 20 74 68 69 73 20 64 | 65 76 69 63 65 20 68 61 |: this d|evice ha|
|00002cd0| 73 20 61 20 66 69 78 65 | 64 20 43 4c 55 54 2e 0a |s a fixe|d CLUT..|
|00002ce0| 00 00 07 4c 6f 61 64 4c | 75 6d 69 6e 61 6e 63 65 |...LoadL|uminance|
|00002cf0| 73 3a 20 65 72 72 6f 72 | 20 25 64 0a 00 00 4c 54 |s: error| %d...LT|
|00002d00| 6f 56 50 6f 6c 79 6e 6f | 6d 69 61 6c 3a 20 25 64 |oVPolyno|mial: %d|
|00002d10| 20 63 6f 65 66 66 69 63 | 69 65 6e 74 73 20 69 73 | coeffic|ients is|
|00002d20| 20 74 6f 6f 20 6d 61 6e | 79 20 6f 72 20 74 6f 6f | too man|y or too|
|00002d30| 20 66 65 77 07 0a 00 00 | 4c 54 6f 56 50 6f 6c 79 | few....|LToVPoly|
|00002d40| 6e 6f 6d 69 61 6c 3a 20 | 6e 65 69 74 68 65 72 20 |nomial: |neither |
|00002d50| 70 6f 77 65 72 20 6e 6f | 72 20 71 75 61 64 72 61 |power no|r quadra|
|00002d60| 74 69 63 20 66 69 74 20 | 69 73 20 61 76 61 69 6c |tic fit |is avail|
|00002d70| 61 62 6c 65 07 0a 00 00 | 4c 54 6f 56 50 6f 6c 79 |able....|LToVPoly|
|00002d80| 6e 6f 6d 69 61 6c 28 25 | 37 2e 32 66 29 3a 20 57 |nomial(%|7.2f): W|
|00002d90| 61 72 6e 69 6e 67 2c 20 | 74 6f 6f 20 6d 61 6e 79 |arning, |too many|
|00002da0| 20 69 74 65 72 61 74 69 | 6f 6e 73 2e 20 56 54 6f | iterati|ons. VTo|
|00002db0| 4c 28 25 35 2e 31 66 29 | 3d 25 37 2e 32 66 0a 00 |L(%5.1f)|=%7.2f..|
|00002dc0| 43 61 75 74 69 6f 6e 3a | 20 59 6f 75 72 20 76 69 |Caution:| Your vi|
|00002dd0| 64 65 6f 20 63 61 72 64 | 20 73 65 65 6d 73 20 74 |deo card| seems t|
|00002de0| 6f 20 68 61 76 65 20 25 | 6c 64 2d 62 69 74 20 76 |o have %|ld-bit v|
|00002df0| 69 64 65 6f 20 64 61 63 | 73 2c 20 61 6e 64 20 4c |ideo dac|s, and L|
|00002e00| 75 6d 69 6e 61 6e 63 65 | 2e 63 0a 68 61 73 20 6f |uminance|.c.has o|
|00002e10| 6e 6c 79 20 62 65 65 6e | 20 74 65 73 74 65 64 20 |nly been| tested |
|00002e20| 77 69 74 68 20 38 2d 62 | 69 74 20 64 61 63 73 2e |with 8-b|it dacs.|
|00002e30| 0a 00 7f ff 7f ff 00 15 | 00 00 0b 50 72 65 66 65 |........|...Prefe|
|00002e40| 72 65 6e 63 65 73 00 00 | 01 00 00 00 49 6e 69 74 |rences..|....Init|
|00002e50| 69 61 6c 69 7a 65 4c 75 | 6d 69 6e 61 6e 63 65 52 |ializeLu|minanceR|
|00002e60| 65 63 6f 72 64 3a 20 6e | 6f 20 72 6f 6f 6d 20 66 |ecord: n|o room f|
|00002e70| 6f 72 20 56 61 72 69 61 | 62 6c 65 73 2e 0a 07 00 |or Varia|bles....|
|00002e80| 0a 52 65 61 64 4c 75 6d | 69 6e 61 6e 63 65 52 65 |.ReadLum|inanceRe|
|00002e90| 63 6f 72 64 3a 20 6e 6f | 20 72 6f 6f 6d 20 66 6f |cord: no| room fo|
|00002ea0| 72 20 56 61 72 69 61 62 | 6c 65 73 2e 0a 07 00 00 |r Variab|les.....|
|00002eb0| 0a 57 72 69 74 65 4c 75 | 6d 69 6e 61 6e 63 65 52 |.WriteLu|minanceR|
|00002ec0| 65 63 6f 72 64 3a 20 6e | 6f 20 72 6f 6f 6d 20 66 |ecord: n|o room f|
|00002ed0| 6f 72 20 56 61 72 69 61 | 62 6c 65 73 2e 0a 07 00 |or Varia|bles....|
|00002ee0| 0a 57 72 69 74 65 4c 75 | 6d 69 6e 61 6e 63 65 52 |.WriteLu|minanceR|
|00002ef0| 65 63 6f 72 64 3a 20 6e | 6f 20 72 6f 6f 6d 20 66 |ecord: n|o room f|
|00002f00| 6f 72 20 4c 75 6d 69 6e | 61 6e 63 65 52 65 63 6f |or Lumin|anceReco|
|00002f10| 72 64 2e 0a 07 00 0a 57 | 72 69 74 65 4c 75 6d 69 |rd.....W|riteLumi|
|00002f20| 6e 61 6e 63 65 52 65 63 | 6f 72 64 3a 20 6e 6f 20 |nanceRec|ord: no |
|00002f30| 72 6f 6f 6d 20 66 6f 72 | 20 56 61 72 69 61 62 6c |room for| Variabl|
|00002f40| 65 73 2e 0a 07 00 64 65 | 76 69 63 65 3d 47 65 74 |es....de|vice=Get|
|00002f50| 53 63 72 65 65 6e 44 65 | 76 69 63 65 28 4c 52 2e |ScreenDe|vice(LR.|
|00002f60| 73 63 72 65 65 6e 29 3b | 00 00 4c 52 2e 73 63 72 |screen);|..LR.scr|
|00002f70| 65 65 6e 00 4c 52 2e 69 | 64 00 4c 52 2e 6e 61 6d |een.LR.i|d.LR.nam|
|00002f80| 65 00 4c 52 2e 64 61 74 | 65 00 4c 52 2e 6e 6f 74 |e.LR.dat|e.LR.not|
|00002f90| 65 73 00 00 4c 52 2e 64 | 61 63 53 69 7a 65 00 00 |es..LR.d|acSize..|
|00002fa0| 6c 75 6d 69 6e 61 6e 63 | 65 20 61 74 20 56 4d 69 |luminanc|e at VMi|
|00002fb0| 6e 00 4c 52 2e 4c 4d 69 | 6e 00 6c 75 6d 69 6e 61 |n.LR.LMi|n.lumina|
|00002fc0| 6e 63 65 20 61 74 20 56 | 4d 61 78 00 4c 52 2e 4c |nce at V|Max.LR.L|
|00002fd0| 4d 61 78 00 62 61 63 6b | 67 72 6f 75 6e 64 20 6c |Max.back|ground l|
|00002fe0| 75 6d 69 6e 61 6e 63 65 | 20 64 75 72 69 6e 67 20 |uminance| during |
|00002ff0| 63 61 6c 69 62 72 61 74 | 69 6f 6e 00 4c 52 2e 4c |calibrat|ion.LR.L|
|00003000| 42 61 63 6b 67 72 6f 75 | 6e 64 00 00 62 61 63 6b |Backgrou|nd..back|
|00003010| 67 72 6f 75 6e 64 20 6e | 75 6d 62 65 72 20 75 73 |ground n|umber us|
|00003020| 65 64 20 64 75 72 69 6e | 67 20 63 61 6c 69 62 72 |ed durin|g calibr|
|00003030| 61 74 69 6f 6e 00 4c 52 | 2e 56 42 61 63 6b 67 72 |ation.LR|.VBackgr|
|00003040| 6f 75 6e 64 00 00 70 69 | 78 65 6c 73 2f 69 6e 63 |ound..pi|xels/inc|
|00003050| 68 00 4c 52 2e 64 70 69 | 00 00 66 72 61 6d 65 73 |h.LR.dpi|..frames|
|00003060| 2f 73 65 63 6f 6e 64 00 | 4c 52 2e 48 7a 00 4c 52 |/second.|LR.Hz.LR|
|00003070| 2e 75 6e 69 74 73 00 00 | 23 20 6f 66 20 63 6f 65 |.units..|# of coe|
|00003080| 66 66 69 63 69 65 6e 74 | 73 20 69 6e 20 70 6f 6c |fficient|s in pol|
|00003090| 79 6e 6f 6d 69 61 6c 20 | 66 69 74 00 4c 52 2e 63 |ynomial |fit.LR.c|
|000030a0| 6f 65 66 66 69 63 69 65 | 6e 74 73 00 4c 28 56 29 |oefficie|nts.L(V)|
|000030b0| 3d 70 5b 30 5d 2b 70 5b | 31 5d 2a 56 2b 70 5b 32 |=p[0]+p[|1]*V+p[2|
|000030c0| 5d 2a 56 2a 56 2b 20 2e | 20 2e 20 2e 20 b1 70 6f |]*V*V+ .| . . .po|
|000030d0| 6c 79 6e 6f 6d 69 61 6c | 45 72 72 6f 72 00 4c 52 |lynomial|Error.LR|
|000030e0| 2e 70 00 00 52 4d 53 20 | 65 72 72 6f 72 20 6f 66 |.p..RMS |error of|
|000030f0| 20 66 69 74 00 00 4c 52 | 2e 70 6f 6c 79 6e 6f 6d | fit..LR|.polynom|
|00003100| 69 61 6c 45 72 72 6f 72 | 00 00 4c 28 56 29 3d 71 |ialError|..L(V)=q|
|00003110| 5b 30 5d 2b 71 5b 31 5d | 2a 56 2b 71 5b 32 5d 2a |[0]+q[1]|*V+q[2]*|
|00003120| 56 2a 56 b1 71 75 61 64 | 72 61 74 69 63 45 72 72 |V*V.quad|raticErr|
|00003130| 6f 72 00 00 4c 52 2e 71 | 00 00 52 4d 53 20 65 72 |or..LR.q|..RMS er|
|00003140| 72 6f 72 20 6f 66 20 66 | 69 74 00 00 4c 52 2e 71 |ror of f|it..LR.q|
|00003150| 75 61 64 72 61 74 69 63 | 45 72 72 6f 72 00 4c 28 |uadratic|Error.L(|
|00003160| 56 29 3d 70 6f 77 65 72 | 5b 30 5d 2b 52 65 63 74 |V)=power|[0]+Rect|
|00003170| 69 66 79 28 70 6f 77 65 | 72 5b 31 5d 2b 70 6f 77 |ify(powe|r[1]+pow|
|00003180| 65 72 5b 32 5d 2a 56 29 | 5e 70 6f 77 65 72 5b 33 |er[2]*V)|^power[3|
|00003190| 5d b1 70 6f 77 65 72 45 | 72 72 6f 72 20 2a 2f 5c |].powerE|rror */\|
|000031a0| 0a 20 20 20 20 2f 2a 20 | 77 68 65 72 65 20 52 65 |. /* |where Re|
|000031b0| 63 74 69 66 79 28 78 29 | 3d 78 20 69 66 20 78 b3 |ctify(x)|=x if x.|
|000031c0| 30 2c 20 61 6e 64 20 52 | 65 63 74 69 66 79 28 78 |0, and R|ectify(x|
|000031d0| 29 3d 30 20 6f 74 68 65 | 72 77 69 73 65 2e 20 2a |)=0 othe|rwise. *|
|000031e0| 2f 5c 0a 20 20 20 20 2f | 2a 20 50 65 6c 6c 69 20 |/\. /|* Pelli |
|000031f0| 26 20 5a 68 61 6e 67 20 | 28 31 39 39 31 29 20 45 |& Zhang |(1991) E|
|00003200| 71 73 2e 39 26 31 30 20 | 75 73 65 20 73 79 6d 62 |qs.9&10 |use symb|
|00003210| 6f 6c 73 20 76 3d 56 2f | 32 35 35 2c 20 2a 2f 5c |ols v=V/|255, */\|
|00003220| 0a 20 20 20 20 2f 2a 20 | 61 6c 70 68 61 3d 70 6f |. /* |alpha=po|
|00003230| 77 65 72 5b 30 5d 2c 20 | 62 65 74 61 3d 70 6f 77 |wer[0], |beta=pow|
|00003240| 65 72 5b 31 5d 2c 20 6b | 61 70 70 61 3d 70 6f 77 |er[1], k|appa=pow|
|00003250| 65 72 5b 32 5d 2a 32 35 | 35 2c 20 67 61 6d 6d 61 |er[2]*25|5, gamma|
|00003260| 3d 70 6f 77 65 72 5b 33 | 5d 00 4c 52 2e 70 6f 77 |=power[3|].LR.pow|
|00003270| 65 72 00 00 52 4d 53 20 | 65 72 72 6f 72 20 6f 66 |er..RMS |error of|
|00003280| 20 66 69 74 00 00 4c 52 | 2e 70 6f 77 65 72 45 72 | fit..LR|.powerEr|
|00003290| 72 6f 72 00 4c 28 56 29 | 3d 66 69 78 65 64 50 6f |ror.L(V)|=fixedPo|
|000032a0| 77 65 72 5b 30 5d 2b 52 | 65 63 74 69 66 79 28 66 |wer[0]+R|ectify(f|
|000032b0| 69 78 65 64 50 6f 77 65 | 72 5b 31 5d 2b 66 69 78 |ixedPowe|r[1]+fix|
|000032c0| 65 64 50 6f 77 65 72 5b | 32 5d 2a 56 29 5e 66 69 |edPower[|2]*V)^fi|
|000032d0| 78 65 64 50 6f 77 65 72 | 5b 33 5d b1 66 69 78 65 |xedPower|[3].fixe|
|000032e0| 64 50 6f 77 65 72 45 72 | 72 6f 72 20 2a 2f 5c 0a |dPowerEr|ror */\.|
|000032f0| 20 20 20 20 2f 2a 20 54 | 68 65 20 65 78 70 6f 6e | /* T|he expon|
|00003300| 65 6e 74 20 66 69 78 65 | 64 50 6f 77 65 72 5b 33 |ent fixe|dPower[3|
|00003310| 5d 20 69 73 20 66 69 78 | 65 64 2e 00 4c 52 2e 66 |] is fix|ed..LR.f|
|00003320| 69 78 65 64 50 6f 77 65 | 72 00 52 4d 53 20 65 72 |ixedPowe|r.RMS er|
|00003330| 72 6f 72 20 6f 66 20 66 | 69 74 00 00 4c 52 2e 66 |ror of f|it..LR.f|
|00003340| 69 78 65 64 50 6f 77 65 | 72 45 72 72 6f 72 00 00 |ixedPowe|rError..|
|00003350| 4c 52 2e 72 00 00 4c 52 | 2e 67 00 00 4c 52 2e 62 |LR.r..LR|.g..LR.b|
|00003360| 00 00 4c 52 2e 67 61 69 | 6e 41 63 63 75 72 61 63 |..LR.gai|nAccurac|
|00003370| 79 00 54 68 65 20 6d 6f | 6e 69 74 6f 72 27 73 20 |y.The mo|nitor's |
|00003380| 63 6f 6e 74 72 61 73 74 | 20 67 61 69 6e 2e 00 00 |contrast| gain...|
|00003390| 4c 52 2e 67 6d 00 7a 65 | 72 6f 20 69 6e 64 69 63 |LR.gm.ze|ro indic|
|000033a0| 61 74 65 73 20 74 68 61 | 74 20 72 61 6e 67 65 20 |ates tha|t range |
|000033b0| 70 61 72 61 6d 65 74 65 | 72 73 20 68 61 76 65 20 |paramete|rs have |
|000033c0| 79 65 74 20 74 6f 20 62 | 65 20 73 65 74 00 4c 52 |yet to b|e set.LR|
|000033d0| 2e 72 61 6e 67 65 53 65 | 74 00 7a 65 72 6f 20 69 |.rangeSe|t.zero i|
|000033e0| 6e 64 69 63 61 74 65 73 | 20 74 68 61 74 20 6c 75 |ndicates| that lu|
|000033f0| 6d 69 6e 61 6e 63 65 20 | 74 61 62 6c 65 20 68 61 |minance |table ha|
|00003400| 73 20 79 65 74 20 74 6f | 20 62 65 20 69 6e 69 74 |s yet to| be init|
|00003410| 69 61 6c 69 7a 65 64 00 | 4c 52 2e 4c 2e 65 78 69 |ialized.|LR.L.exi|
|00003420| 73 74 73 00 6d 69 6e 69 | 6d 75 6d 20 76 61 6c 75 |sts.mini|mum valu|
|00003430| 65 20 74 68 61 74 20 63 | 61 6e 20 62 65 20 6c 6f |e that c|an be lo|
|00003440| 61 64 65 64 20 69 6e 74 | 6f 20 44 41 43 00 4c 52 |aded int|o DAC.LR|
|00003450| 2e 56 4d 69 6e 00 6d 61 | 78 69 6d 75 6d 20 76 61 |.VMin.ma|ximum va|
|00003460| 6c 75 65 20 74 68 61 74 | 20 63 61 6e 20 62 65 20 |lue that| can be |
|00003470| 6c 6f 61 64 65 64 20 69 | 6e 74 6f 20 44 41 43 00 |loaded i|nto DAC.|
|00003480| 4c 52 2e 56 4d 61 78 00 | 52 65 61 64 4c 75 6d 69 |LR.VMax.|ReadLumi|
|00003490| 6e 61 6e 63 65 52 65 63 | 6f 72 64 2e 63 00 6a 3c |nanceRec|ord.c.j<|
|000034a0| 3d 56 41 52 49 41 42 4c | 45 53 00 00 4f 6f 70 73 |=VARIABL|ES..Oops|
|000034b0| 2e 20 25 73 20 65 72 72 | 6f 72 2e 20 54 68 69 73 |. %s err|or. This|
|000034c0| 20 70 72 6f 67 72 61 6d | 20 61 6e 64 20 74 68 65 | program| and the|
|000034d0| 20 53 74 61 6e 64 61 72 | 64 20 43 20 d2 41 4e 53 | Standar|d C .ANS|
|000034e0| 49 d3 20 6c 69 62 72 61 | 72 79 20 68 61 76 65 20 |I. libra|ry have |
|000034f0| 62 65 65 6e 0a 63 6f 6d | 70 69 6c 65 64 20 77 69 |been.com|piled wi|
|00003500| 74 68 20 69 6e 63 6f 6d | 70 61 74 69 62 6c 65 20 |th incom|patible |
|00003510| 25 73 2e 0a 00 00 53 6f | 72 72 79 2c 20 49 20 72 |%s....So|rry, I r|
|00003520| 65 71 75 69 72 65 20 47 | 65 73 74 61 6c 74 28 29 |equire G|estalt()|
|00003530| 2e 20 59 6f 75 72 20 53 | 79 73 74 65 6d 20 69 73 |. Your S|ystem is|
|00003540| 20 74 6f 6f 20 6f 6c 64 | 21 0a 00 00 53 6f 72 72 | too old|!...Sorr|
|00003550| 79 2e 20 49 27 76 65 20 | 62 65 65 6e 20 63 6f 6d |y. I've |been com|
|00003560| 70 69 6c 65 64 20 74 6f | 20 75 73 65 20 61 20 36 |piled to| use a 6|
|00003570| 38 30 32 30 20 70 72 6f | 63 65 73 73 6f 72 20 28 |8020 pro|cessor (|
|00003580| 6f 72 20 62 65 74 74 65 | 72 29 2c 20 61 6e 64 20 |or bette|r), and |
|00003590| 79 6f 75 20 64 6f 6e 27 | 74 20 68 61 76 65 20 6f |you don'|t have o|
|000035a0| 6e 65 2e 0a 00 00 53 6f | 72 72 79 2e 20 54 68 69 |ne....So|rry. Thi|
|000035b0| 73 20 70 72 6f 67 72 61 | 6d 20 72 65 71 75 69 72 |s progra|m requir|
|000035c0| 65 73 20 43 6f 6c 6f 72 | 20 51 75 69 63 6b 44 72 |es Color| QuickDr|
|000035d0| 61 77 2e 0a 00 00 53 6f | 72 72 79 2e 20 54 68 69 |aw....So|rry. Thi|
|000035e0| 73 20 70 72 6f 67 72 61 | 6d 20 72 65 71 75 69 72 |s progra|m requir|
|000035f0| 65 73 20 33 32 2d 62 69 | 74 20 51 75 69 63 6b 44 |es 32-bi|t QuickD|
|00003600| 72 61 77 20 76 65 72 73 | 69 6f 6e 20 31 2e 25 6c |raw vers|ion 1.%l|
|00003610| 64 0a 00 00 25 64 2c 25 | 64 00 31 2c 2d 31 00 00 |d...%d,%|d.1,-1..|
|00003620| 73 69 7a 65 73 20 6f 66 | 20 69 6e 74 00 00 73 70 |sizes of| int..sp|
|00003630| 72 69 6e 74 66 00 25 64 | 2c 25 64 00 31 2c 2d 31 |rintf.%d|,%d.1,-1|
|00003640| 00 00 73 69 7a 65 73 20 | 6f 66 20 69 6e 74 00 00 |..sizes |of int..|
|00003650| 73 73 63 61 6e 66 00 00 | 25 67 2c 25 67 00 31 2c |sscanf..|%g,%g.1,|
|00003660| 30 2e 31 00 66 6f 72 6d | 61 74 73 20 66 6f 72 20 |0.1.form|ats for |
|00003670| 64 6f 75 62 6c 65 00 00 | 73 70 72 69 6e 74 66 00 |double..|sprintf.|
|00003680| 31 2c 30 2e 31 00 d2 25 | 73 d3 ad d2 25 73 d3 0a |1,0.1..%|s...%s..|
|00003690| 00 00 25 6c 66 2c 25 6c | 66 00 31 2c 30 2e 31 00 |..%lf,%l|f.1,0.1.|
|000036a0| 66 6f 72 6d 61 74 73 20 | 66 6f 72 20 64 6f 75 62 |formats |for doub|
|000036b0| 6c 65 00 00 73 73 63 61 | 6e 66 00 00 31 2c 30 2e |le..ssca|nf..1,0.|
|000036c0| 31 2c 31 00 d2 25 73 d3 | ad d2 25 66 2c 25 66 2c |1,1..%s.|..%f,%f,|
|000036d0| 25 66 d3 0a 00 00 4f 6f | 70 73 3a 20 73 71 72 74 |%f....Oo|ps: sqrt|
|000036e0| 28 30 2e 31 2a 30 2e 31 | 29 21 3d 30 2e 31 0a 50 |(0.1*0.1|)!=0.1.P|
|000036f0| 65 72 68 61 70 73 20 74 | 68 69 73 20 70 72 6f 67 |erhaps t|his prog|
|00003700| 72 61 6d 20 61 6e 64 20 | 74 68 65 20 53 74 61 6e |ram and |the Stan|
|00003710| 64 61 72 64 20 43 20 d2 | 41 4e 53 49 d3 20 6c 69 |dard C .|ANSI. li|
|00003720| 62 72 61 72 79 20 68 61 | 76 65 20 62 65 65 6e 0a |brary ha|ve been.|
|00003730| 63 6f 6d 70 69 6c 65 64 | 20 77 69 74 68 20 69 6e |compiled| with in|
|00003740| 63 6f 6d 70 61 74 69 62 | 6c 65 20 66 6f 72 6d 61 |compatib|le forma|
|00003750| 74 73 20 66 6f 72 20 64 | 6f 75 62 6c 65 2e 0a 00 |ts for d|ouble...|
|00003760| 00 00 00 01 00 00 54 69 | 6d 65 72 2e 63 00 4e 65 |......Ti|mer.c.Ne|
|00003770| 77 54 69 6d 65 72 3a 20 | 6f 6c 64 20 53 79 73 74 |wTimer: |old Syst|
|00003780| 65 6d 20 6c 61 63 6b 73 | 20 74 68 65 20 52 65 76 |em lacks| the Rev|
|00003790| 69 73 65 64 20 54 69 6d | 65 20 4d 61 6e 61 67 65 |ised Tim|e Manage|
|000037a0| 72 2e 20 25 73 0a 00 00 | 00 01 00 00 70 6f 77 65 |r. %s...|....powe|
|000037b0| 6c 6c 20 65 78 63 65 65 | 64 69 6e 67 20 6d 61 78 |ll excee|ding max|
|000037c0| 69 6d 75 6d 20 69 74 65 | 72 61 74 69 6f 6e 73 2e |imum ite|rations.|
|000037d0| 00 00 54 6f 6f 20 6d 61 | 6e 79 20 69 74 65 72 61 |..Too ma|ny itera|
|000037e0| 74 69 6f 6e 73 20 69 6e | 20 62 72 65 6e 74 00 00 |tions in| brent..|
|000037f0| 4e 75 6d 65 72 69 63 61 | 6c 20 52 65 63 69 70 65 |Numerica|l Recipe|
|00003800| 73 20 72 75 6e 2d 74 69 | 6d 65 20 65 72 72 6f 72 |s run-ti|me error|
|00003810| 2e 2e 2e 0a 00 00 25 73 | 0a 00 2e 2e 2e 6e 6f 77 |......%s|.....now|
|00003820| 20 65 78 69 74 69 6e 67 | 20 74 6f 20 73 79 73 74 | exiting| to syst|
|00003830| 65 6d 2e 2e 2e 0a 00 00 | 61 6c 6c 6f 63 61 74 69 |em......|allocati|
|00003840| 6f 6e 20 66 61 69 6c 75 | 72 65 20 69 6e 20 76 65 |on failu|re in ve|
|00003850| 63 74 6f 72 28 29 00 00 | 61 6c 6c 6f 63 61 74 69 |ctor()..|allocati|
|00003860| 6f 6e 20 66 61 69 6c 75 | 72 65 20 69 6e 20 69 76 |on failu|re in iv|
|00003870| 65 63 74 6f 72 28 29 00 | 61 6c 6c 6f 63 61 74 69 |ector().|allocati|
|00003880| 6f 6e 20 66 61 69 6c 75 | 72 65 20 69 6e 20 63 76 |on failu|re in cv|
|00003890| 65 63 74 6f 72 28 29 00 | 61 6c 6c 6f 63 61 74 69 |ector().|allocati|
|000038a0| 6f 6e 20 66 61 69 6c 75 | 72 65 20 69 6e 20 6c 76 |on failu|re in lv|
|000038b0| 65 63 74 6f 72 28 29 00 | 61 6c 6c 6f 63 61 74 69 |ector().|allocati|
|000038c0| 6f 6e 20 66 61 69 6c 75 | 72 65 20 69 6e 20 64 76 |on failu|re in dv|
|000038d0| 65 63 74 6f 72 28 29 00 | 61 6c 6c 6f 63 61 74 69 |ector().|allocati|
|000038e0| 6f 6e 20 66 61 69 6c 75 | 72 65 20 31 20 69 6e 20 |on failu|re 1 in |
|000038f0| 6d 61 74 72 69 78 28 29 | 00 00 61 6c 6c 6f 63 61 |matrix()|..alloca|
|00003900| 74 69 6f 6e 20 66 61 69 | 6c 75 72 65 20 32 20 69 |tion fai|lure 2 i|
|00003910| 6e 20 6d 61 74 72 69 78 | 28 29 00 00 61 6c 6c 6f |n matrix|()..allo|
|00003920| 63 61 74 69 6f 6e 20 66 | 61 69 6c 75 72 65 20 31 |cation f|ailure 1|
|00003930| 20 69 6e 20 6d 61 74 72 | 69 78 28 29 00 00 61 6c | in matr|ix()..al|
|00003940| 6c 6f 63 61 74 69 6f 6e | 20 66 61 69 6c 75 72 65 |location| failure|
|00003950| 20 32 20 69 6e 20 6d 61 | 74 72 69 78 28 29 00 00 | 2 in ma|trix()..|
|00003960| 61 6c 6c 6f 63 61 74 69 | 6f 6e 20 66 61 69 6c 75 |allocati|on failu|
|00003970| 72 65 20 31 20 69 6e 20 | 6d 61 74 72 69 78 28 29 |re 1 in |matrix()|
|00003980| 00 00 61 6c 6c 6f 63 61 | 74 69 6f 6e 20 66 61 69 |..alloca|tion fai|
|00003990| 6c 75 72 65 20 32 20 69 | 6e 20 6d 61 74 72 69 78 |lure 2 i|n matrix|
|000039a0| 28 29 00 00 61 6c 6c 6f | 63 61 74 69 6f 6e 20 66 |()..allo|cation f|
|000039b0| 61 69 6c 75 72 65 20 69 | 6e 20 73 75 62 6d 61 74 |ailure i|n submat|
|000039c0| 72 69 78 28 29 00 61 6c | 6c 6f 63 61 74 69 6f 6e |rix().al|location|
|000039d0| 20 66 61 69 6c 75 72 65 | 20 69 6e 20 63 6f 6e 76 | failure| in conv|
|000039e0| 65 72 74 5f 6d 61 74 72 | 69 78 28 29 00 00 61 6c |ert_matr|ix()..al|
|000039f0| 6c 6f 63 61 74 69 6f 6e | 20 66 61 69 6c 75 72 65 |location| failure|
|00003a00| 20 31 20 69 6e 20 66 33 | 74 65 6e 73 6f 72 28 29 | 1 in f3|tensor()|
|00003a10| 00 00 61 6c 6c 6f 63 61 | 74 69 6f 6e 20 66 61 69 |..alloca|tion fai|
|00003a20| 6c 75 72 65 20 32 20 69 | 6e 20 66 33 74 65 6e 73 |lure 2 i|n f3tens|
|00003a30| 6f 72 28 29 00 00 61 6c | 6c 6f 63 61 74 69 6f 6e |or()..al|location|
|00003a40| 20 66 61 69 6c 75 72 65 | 20 33 20 69 6e 20 66 33 | failure| 3 in f3|
|00003a50| 74 65 6e 73 6f 72 28 29 | 00 00 6e 6f 20 63 6f 6e |tensor()|..no con|
|00003a60| 76 65 72 67 65 6e 63 65 | 20 69 6e 20 33 30 20 73 |vergence| in 30 s|
|00003a70| 76 64 63 6d 70 20 69 74 | 65 72 61 74 69 6f 6e 73 |vdcmp it|erations|
|00003a80| 00 00 41 73 73 65 72 74 | 69 6f 6e 20 66 61 69 6c |..Assert|ion fail|
|00003a90| 65 64 3a 20 25 73 2c 20 | 66 69 6c 65 20 25 73 2c |ed: %s, |file %s,|
|00003aa0| 20 6c 69 6e 65 20 25 64 | 0a 00 28 70 72 65 73 73 | line %d|..(press|
|00003ab0| 20 c7 72 65 74 75 72 6e | c8 20 74 6f 20 65 78 69 | .return|. to exi|
|00003ac0| 74 29 00 00 00 02 00 00 | 25 6c 66 25 6e 00 25 64 |t)......|%lf%n.%d|
|00003ad0| 00 00 25 3f 6c 64 25 6e | 00 00 25 3f 6c 75 25 6e |..%?ld%n|..%?lu%n|
|00003ae0| 00 00 00 32 00 0a ff ff | fa 82 00 08 00 04 00 09 |...2....|........|
|00003af0| 00 00 00 19 00 50 00 01 | 07 60 00 00 01 6a 00 00 |.....P..|.`...j..|
|00003b00| 00 1c 00 1c 00 1e 00 1c | 00 24 08 2e 63 6f 6e 73 |........|.$..cons|
|00003b10| 6f 6c 65 00 4e 75 4e f9 | 00 00 4e f9 00 00 00 64 |ole.NuN.|..N....d|
|00003b20| 00 64 00 c8 01 2c 00 64 | 00 78 27 0f 27 0f 00 00 |.d...,.d|.x'.'...|
|00003b30| 61 00 77 00 25 23 73 2e | 6c 6f 67 00 01 14 04 46 |a.w.%#s.|log....F|
|00003b40| 69 6c 65 00 06 51 75 69 | 74 2f 51 00 04 45 64 69 |ile..Qui|t/Q..Edi|
|00003b50| 74 00 24 55 6e 64 6f 2f | 5a 3b 28 2d 3b 43 75 74 |t.$Undo/|Z;(-;Cut|
|00003b60| 2f 58 3b 43 6f 70 79 2f | 43 3b 50 61 73 74 65 2f |/X;Copy/|C;Paste/|
|00003b70| 56 3b 43 6c 65 61 72 00 | 16 70 72 65 73 73 20 c7 |V;Clear.|.press .|
|00003b80| 72 65 74 75 72 6e c8 20 | 74 6f 20 65 78 69 74 00 |return. |to exit.|
|00003b90| 00 00 0d 00 07 63 6f 6e | 73 6f 6c 65 01 01 01 01 |.....con|sole....|
|00003ba0| 01 01 01 01 01 02 02 02 | 02 02 01 01 01 01 01 01 |........|........|
|00003bb0| 01 01 01 01 01 01 01 01 | 01 01 01 01 04 08 08 08 |........|........|
|00003bc0| 08 08 08 08 08 08 08 08 | 08 08 08 08 10 10 10 10 |........|........|
|00003bd0| 10 10 10 10 10 10 08 08 | 08 08 08 08 08 60 60 60 |........|.....```|
|00003be0| 60 60 60 40 40 40 40 40 | 40 40 40 40 40 40 40 40 |```@@@@@|@@@@@@@@|
|00003bf0| 40 40 40 40 40 40 40 08 | 08 08 08 08 08 a0 a0 a0 |@@@@@@@.|........|
|00003c00| a0 a0 a0 80 80 80 80 80 | 80 80 80 80 80 80 80 80 |........|........|
|00003c10| 80 80 80 80 80 80 80 08 | 08 08 08 01 00 00 73 63 |........|......sc|
|00003c20| 72 61 74 63 68 00 77 62 | 2b 00 74 65 6d 70 00 00 |ratch.wb|+.temp..|
|00003c30| 25 73 25 2e 34 64 00 00 | 3f 3f 3f 3f 3f 3f 3f 3f |%s%.4d..|????????|
|00003c40| 80 00 00 00 80 00 00 00 | 80 00 00 00 00 80 00 00 |........|........|
|00003c50| 7f 7f ff ff 34 00 00 00 | 80 00 00 00 7f fe 7f fe |....4...|........|
|00003c60| ff ff ff ff ff ff ff ff | 3f c0 3f c0 80 00 00 00 |........|?.?.....|
|00003c70| 7f ff 7f ff 00 00 ff ff | ff ff 00 00 40 00 40 00 |........|....@.@.|
|00003c80| c9 0f da a2 21 68 c2 35 | 3f de 3f de 80 00 00 00 |....!h.5|?.?.....|
|00003c90| 40 00 40 00 d4 9a 78 4b | cd 1b 8a ff 00 00 30 31 |@.@...xK|......01|
|00003ca0| 32 33 34 35 36 37 38 39 | 41 42 43 44 45 46 00 00 |23456789|ABCDEF..|
|00003cb0| 30 31 32 33 34 35 36 37 | 38 39 61 62 63 64 65 66 |01234567|89abcdef|
|00003cc0| 00 00 06 3e 3e 3e 3e 3e | 3e 00 00 00 54 48 49 4e |...>>>>>|>...THIN|
|00003cd0| 4b 20 43 20 4c 69 62 72 | 61 72 69 65 73 20 a9 20 |K C Libr|aries . |
|00003ce0| 31 39 39 31 20 53 79 6d | 61 6e 74 65 63 20 43 6f |1991 Sym|antec Co|
|00003cf0| 72 70 2e 00 00 00 01 30 | 00 00 07 43 68 69 63 61 |rp.....0|...Chica|
|00003d00| 67 6f 25 73 20 28 25 64 | 29 3a 00 00 25 64 00 00 |go%s (%d|):..%d..|
+--------+-------------------------+-------------------------+--------+--------+